Re: [Tutor] Tutor Open a directory in the default file manager

2008-05-20 Thread Tony Cappellini
*Tim Michelsen* timmichelsen at gmx-topmail.de tutor%40python.org?Subject=Re%3A%20%5BTutor%5D%20Open%20a%20directory%20in%20the%20default%20file%20managerIn-Reply-To=%3Cg0skru%24lep%241%40ger.gmane.org%3E *Mon May 19 21:36:30 CEST 2008* - Previous message: [Tutor] Open a directory

Re: [Tutor] Open a directory in the default file manager

2008-05-19 Thread Tim Michelsen
Hi! is there any function/module that allows me to open a directory in the default file manager of a operating system? On Windows you can use os.startfile(). On pure Unices there's no such thing as filetype associations However, if you use a desktop environment, you can spawn xdg-open

Re: [Tutor] Open a directory in the default file manager

2008-05-16 Thread Thomas Pani
Tim Michelsen wrote: Hello, is there any function/module that allows me to open a directory in the default file manager of a operating system? On Windows you can use os.startfile(). On pure Unices there's no such thing as filetype associations However, if you use a desktop environment, you

[Tutor] Open a directory in the default file manager

2008-05-15 Thread Tim Michelsen
Hello, is there any function/module that allows me to open a directory in the default file manager of a operating system? Here I a piece of code how to open a URL in the default webbrowser: http://www.python.org/doc/lib/module-webbrowser.html import webbrowser myurl = 'http://www.python.org'