Вопрос

How am I going to create web browser-like window in wxpython wherein every time a button is clicked, this window will display all the files I want to download from an ftp site.

Any help would be appreciated. Thanks!

Это было полезно?

Решение

You'll want to look at wx.html2 which contains the webview widget. This is included in wxPython 2.9. You can use that for your custom web client. For downloading files, I recommend using urllib or requests. You can read about that here: http://www.blog.pythonlibrary.org/2012/06/07/python-101-how-to-download-a-file/

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top