On Jun 5, 2005, at 9:52 PM, Lee Cullens wrote:
> Thanks for the reply Bob. I've been digging around in the Python
> Documentation Macintosh and more specifically Carbon.File.
> (All seems to be a bit of a secret society :~) with scant docs that
> are not up to date and no content in __doc__s
Thanks for the reply Bob. I've been digging around in the Python Documentation Macintosh and more specifically Carbon.File. (All seems to be a bit of a secret society :~) with scant docs that are not up to date and no content in __doc__s so it's a little hard going)What you noted doesn't seem to
On Jun 5, 2005, at 7:09 PM, Lee Cullens wrote:
> One of my little utilities needs to know when it encounters links/
> aliases.
>
> I can of course detect a Unix symbolic link with os.path.islink
> ('path') and determine what it points to with os.readlink('path'),
> but an Aqua alias only triggers
One of my little utilities needs to know when it encounters links/
aliases.
I can of course detect a Unix symbolic link with os.path.islink
('path') and determine what it points to with os.readlink('path'),
but an Aqua alias only triggers os.isfile and it has a size of zero.
The size is not