phoenix_title 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.

function_summary Functions Summary

demo_main

Get/Launch Demo.

docs_main

Get/Launch Docs.

done

Tidy up and exit.

ensure_wx_app

Ensure that there is a wx.App instance.

get_item

Get the item

get_paths_dict

Get a dictionary of the required paths.

main

Command line main.

report_error

Report a problem.

unpack_cached

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.