[issue3177] Add shutil.open
report at bugs.python.org
Tue May 29 07:13:48 CEST 2012
Éric Araujo <merwok at netwok.org> added the comment:
Note that my suggestion has an inconvenient on Windows. Take the example of HTML files; on an UNIX system I would decide whether I want them to be opened with my text editor or my web browser; I’d choose web browser because I launch my text editor from a shell. On Windows though you would register your web browser for default action and your text editor for the edit action; this deliberate configuration would not be respected if we implement shutil.whatever with os.startfile(..., 'edit').
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list