wx.tools.wxget_docs_demo¶
wxget_docs_demo.py – Launch the appropriate wx Docs or Demo.
- Usage:
wxget_docs_demo [docs|demo]
Will install if missing, the requested item for the current version and then launch it.
Use: doc|demo –force to force a fresh download.
Functions Summary¶
Get/Launch Demo. |
|
Get/Launch Docs. |
|
Tidy up and exit. |
|
Ensure that there is a wx.App instance. |
|
Get the item |
|
Get a dictionary of the required paths. |
|
Command line main. |
|
Report a problem. |
|
Unpack from the cache. |
Functions¶
- demo_main(args=sys.argv)¶
Get/Launch Demo.
- docs_main(args=sys.argv)¶
Get/Launch Docs.
- done(result=0)¶
Tidy up and exit.
- ensure_wx_app()¶
Ensure that there is a wx.App instance.
- get_item(final, url, cache, name, ext, forced=False)¶
Get the item
- get_paths_dict()¶
Get a dictionary of the required paths.
- main(args=sys.argv)¶
Command line main.
- report_error(err_text)¶
Report a problem.
- unpack_cached(cached, dest_dir)¶
Unpack from the cache.