[Python-Dev] os.startfile with optional second parameter

Thomas Heller theller at python.net
Wed Dec 21 17:32:22 CET 2005


Thomas Heller <theller at python.net> writes:
> Would a patch be accepted that implemented an optional second parameter
> for the os.startfile function on Windows?
>> Sometimes I missed the possibility to write
>> os.startfile("mydocs.pdf", "print")

The other possibility would be to extend the subprocess module with this
functionality.
Thomas


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /