Rick Hurst Web Developer in Bristol, UK

Menu

Zope/Plone get physical path of object

python: '/'.join(obj.getPhysicalPath())

where object is the object you are working on. I found this format in O’Reilly Learning Python because for some reason

 string.join(obj.getPhysicalPath(),'/') 

(which should do same thing) was returning an error