RE: [wxPython] How to get filename
Check out all the functions available in the standard Python os.path module.
···
-----Original Message-----
From: A [mailto:printers@sendme.cz]
Sent: Tuesday, May 07, 2002 4:09 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] How to get filename
Hi,
How can I get a filename from a full path?
For example I have
C:\Python\MyFile.txt
and I need to get MyFile.txt only.
I tried wxFileName class but Python said
NameError: name ‘wxFileName’ is not defined
Thank you for help.
Ladislav
wxpython-users mailing list