Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tkinter help viewer

Tags:

I have a simple Tkinter app in Python. I'd like to add help document to it; what is the simplest way to integrate an help viewer to the app? Preferably cross-platform (although I primarily use Windows)?

I can imagine writing the help in plain HTML.

like image 524
Sridhar Ratnakumar Avatar asked Jan 02 '10 04:01

Sridhar Ratnakumar


1 Answers

Or just launch an external web browser, using the webbrowser module from the standard library.

import webbrowser
webbrowser.open('/path/to/help/file.html')

For writing your documentation, have a look at sphinx.

like image 101
codeape Avatar answered Oct 03 '22 22:10

codeape