Filepath string manipulation help

mjakowlew mjakowlew at gmail.com
Fri Nov 4 14:05:16 CET 2005


Steve,

the os commands don't run through zope, it denies access to them to be
run at all through  the webserver. So in turn, I had to use a work
around to fix the IE problem. Also qwwee's suggestion to use:

 filepath.split('\\')[-1]

works well too. Zope is very finicky about running specific commands,
I'm sure this is due to security issues of running os commands through
a website/webserver.




More information about the Python-list mailing list