how to associate files with application

jmdeschamps at gmail.com jmdeschamps at gmail.com
Thu Oct 27 21:41:00 EDT 2005


Ashok wrote:
> hi,
> i want to know how to make a specific type of file open in an
> application i developed in python when the user clicks on the file.(in
> windows) for eg. a .txt file when clicked opens in notepad, a .doc file
> when clicked opens in MS-word. In the same way i want to make a .xyz
> file open in the application i developed when clicked.
> thanks in advance for any advice.

Not an expert in this (OS-related) field but in Windows I think that
would be a Registry thing...

Maybe this article could help you start somewhere...
http://antivirus.about.com/od/windowsbasics/l/blfileassoc4.htm

Good Luck, and maybe you can reply-post your eventual success recipe!




More information about the Python-list mailing list