Help with filetype association!

Posted by Zachary Brown on Stack Overflow See other posts from Stack Overflow or by Zachary Brown
Published on 2010-04-28T04:39:06Z Indexed on 2010/04/28 4:43 UTC
Read the original article Hit count: 309

Filed under:
|
|
|

I have the actual assoication part down, but when I open the file that is associated with my Python program, how do I get the filepath of the file opened?

I think it is something like sys.argv? But that just returns the path to the python program, not the associated file.

© Stack Overflow or respective owner

Related posts about python

Related posts about Technology