Thread
:
PyCherry Help? Is this safe?
View Single Post
Jan 24th, 2006, 4:12 PM
#
11
Cerulean
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power:
4
Quote:
Originally Posted by
Arevos
Or use "os.path.basename". That should make things safe enough.
Yeah, os.path.basename is cool. Won't work, however, if you want to make use of subdirectories. Things need to stay flat if you use it.
Cerulean
View Public Profile
Visit Cerulean's homepage!
Find More Posts by Cerulean