V
vedrandekovic
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
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