file upload option using wxPython Topic is solved

This forum can be used to talk about full general design strategies, new ideas and questions in full general related to wxWidgets. If you feel your questions doesn't fit anywhere, put information technology here.

User avatar

doublemax
Moderator
Moderator
Posts: 16872
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: file upload option using wxPython

Postal service past doublemax »

Upload to where? To an ftp server would be piece of cake using wxFTP. A HTTP upload should be possible using wxHTTP and wxHTTP::SetPostBuffer or wxHTTP::SetPostText, only you'd accept to build the http buffer your self and of course you lot need a CGI script on the receiving side.

Employ the source, Luke!

User avatar

pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 half-dozen:08 am

Re: file upload choice using wxPython

Postal service by pikkip »

I have to compare two files to find the difference in their content in Python. I created a frame using wxpython. It has an option to choose number of files to be compared. After that the option of adding those files to it is what I meant. I accept attached a sample image for clarity.

Attachments
this option is what I meant
this option is what I meant
sample.png (7.33 KiB) Viewed 2002 times

User avatar

doublemax
Moderator
Moderator
Posts: 16872
Joined: Fri Apr 21, 2006 eight:03 pm
Location: $FCE2

Re: file upload option using wxPython

Post by doublemax »

In that location is no dedicated command for a file list similar that. You lot could use two wxFilePickerCtrl'southward.

In the latest wxWidgets version y'all could as well utilize wxAddRemoveCtrl, only i'm not sure if this is already bachelor in wxPython.

Otherwise just employ any listing command, e.g. a wxListBox and a button to add more files.

Use the source, Luke!