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

2008-05-20 Thread Tony Cappellini
*Tim Michelsen* timmichelsen at gmx-topmail.de *Mon May 19 21:36:30 CEST 2008* - Previous message: [Tutor] Open a directory in the default file manager <http://mail.python.org/pipermail/tutor/2008-May/061820.html> - Next message: [Tutor] Getting started with Python

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, yo

[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'