By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

Example of resolving an alias using Carbon.File module?

P: n/a
This is a question only relevant to Mac OS X. Could someone offer a
simple example how to use Carbon.File module (perhaps
Alias.FSResolveAlias()?) to resolve an alias? Basically I'd like to
load in an alias file and find out which file/directory the alias
points to.

Thanks a lot!

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Problem solved:

from Carbon.File import *
fs, _, _ = ResolveAliasFile('/some/path', 1)
print fs.as_pathname()

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.