Is there a python equivalent of the perl readlink() function
(e.g. one that returns the relative path in cases where a command
such as ``ln -s ls /usr/local/bin/gls'' created the link?
Reading the documentation on the various os.path functions, the
only thing I see returns the fully resolved path rather than the
relative one (/usr/local/bin/ls in the case above).
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
``It's time to feed the hogs''
-- Unintended Consequences