Need to create a soft link to a file
Markus
m.a.r.k at gmx.de
Sun Sep 19 13:18:14 EDT 2004
More information about the Python-list mailing list
Sun Sep 19 13:18:14 EDT 2004
- Previous message (by thread): Need to create a soft link to a file
- Next message (by thread): Need to create a soft link to a file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Solved ;-) I've found the symlink() function which works for me. Thanks, Mark Markus wrote: > > Hello, > > I'm running on Mac OS X and need to create a soft link to a file. > > I tried both makealias() and link(). While makealias creates a Finder > alias just fine my application that needs to read the reference file > doesn't like this. link() produces 1) a hard link and b) gives me the > following error: OSError: [Errno 45] Operation not supported > > I guess what I'm looking for is a way to call the Unix ln command from > within my python program. > > How would I do this? > > Thanks, > Mark
- Previous message (by thread): Need to create a soft link to a file
- Next message (by thread): Need to create a soft link to a file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list