'Sphynx as a reStructuredText text editor in Tkinter gui?

Hi_everyone. I need to create a text editor in tkinter. There is a lot of examples (but quite simple and with no formatting properties) with text widget. I was wondering: I'm reading about sphinx, in fact, I managed creating some automatic documentation in pycharm with sphynx. My question: Is it possible to open a Sphynx reStructuredText "text editor" in a Tkinter frame (like we do with text widget) and create documents manually. I mean, not automatic documents. I want to "manually" write, for instance, an autopsy report or a clinical report or a surgery report, etc and generate a file. All I find "googleing" is how creating automatic reports. To sum: I want to open a reStructuredText text editor inside a tkinter frame write a text (my own report, by hand, not automatic generated) and save it (if pdf or html doesnot matter). Is it possible? Any suggestion or tutorials are extremely appreciated.

best,



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source