What replaces the now-deprecated Carbon.File.FSResolveAliasFile in Python on OSX?
In Python 2, I can use the following code to resolve either a MacOS alias or a symbolic link: from Carbon import File File.FSResolveAliasFile(alias_fp, True)[0].as_pathname() where alias_fp is the path to the file I'm curious about, stored as a string ( source ). However, the documentation cheerfully tells me that the whole Carbon family of modules is deprecated . What should I be using instead? EDIT: I believe the code below is a step in the right direction for the PyObjC approach. It doesn't resolve aliases, but it seems to detect them. from AppKit import NSWorkspace def is_alias (path): uti