Filepath string manipulation help

Steve Holden steve at holdenweb.com
Fri Nov 4 12:13:01 EST 2005


mjakowlew wrote:
> 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.
> 
That's a good enough reason. You are excused. :-)

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list