wxPython ListCtrl
vedrandekovic at v-programs.com
vedrandekovic at v-programs.com
Mon Nov 5 12:00:29 EST 2007
Hello,
How can I Insert image with string in ListCtrl with this example:
# Import ftputil module - like ftplib
from ftputil import FTPHost
# Create connection
ftp=FTPHost("ftp.someserver.com","user","password")
# LIST ALL FILES/FOLDERS ON SERVER
for item in ftp._dir("/"):
# Now check if item is file /folder
if item is file insert this image: wx.ART_NORMAL_FILE and if
the item is folder insert this image
wx.ART_FOLDER
.......how can I do the same on server with GenericDirCtrl?
Regards,
Vedran
More information about the Python-list
mailing list