Python __main__.__doc__() Examples
The following are 3
code examples of __main__.__doc__().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
__main__
, or try the search function
.
Example #1
Source File: ScrolledText.py From BinderFilter with MIT License | 5 votes |
def example(): import __main__ from Tkconstants import END stext = ScrolledText(bg='white', height=10) stext.insert(END, __main__.__doc__) stext.pack(fill=BOTH, side=LEFT, expand=True) stext.focus_set() stext.mainloop()
Example #2
Source File: ScrolledText.py From oss-ftp with MIT License | 5 votes |
def example(): import __main__ from Tkconstants import END stext = ScrolledText(bg='white', height=10) stext.insert(END, __main__.__doc__) stext.pack(fill=BOTH, side=LEFT, expand=True) stext.focus_set() stext.mainloop()
Example #3
Source File: ScrolledText.py From Splunking-Crime with GNU Affero General Public License v3.0 | 5 votes |
def example(): import __main__ from Tkconstants import END stext = ScrolledText(bg='white', height=10) stext.insert(END, __main__.__doc__) stext.pack(fill=BOTH, side=LEFT, expand=True) stext.focus_set() stext.mainloop()