wx.tools.wxget¶wxget.py – wx Version of wget utility for platform that don’t have it already.
Where URL is a file URL and the optional DEST_DIR is a destination directory to download to, (default is to prompt the user). The –trusted option can be used to surpress certificate checks.
Functions Summary¶download_file |
Download and save a file specified by url to dest directory, with force will |
download_pip |
Try to donwload via pip. |
download_urllib |
Try to donwload via urllib. |
download_wget |
Try to donwload via wget. |
get_docs_demo_url |
Get the URL for the docs or demo. |
get_save_path |
Get the file save location. |
main |
Entry point for wxget. |
download_file(url, dest=None, force=False, trusted=False)¶Download and save a file specified by url to dest directory, with force will operate silently and overwrite any existing file.
download_pip(url, filename, force=False, trusted=False)¶Try to donwload via pip.
download_urllib(url, filename)¶Try to donwload via urllib.
download_wget(url, filename, trusted=False)¶Try to donwload via wget.
get_docs_demo_url(demo=False)¶Get the URL for the docs or demo.
get_save_path(url, dest_dir, force=False)¶Get the file save location.
main(args=sys.argv)¶Entry point for wxget.