[issue14803] Add -C option to run code at Python startup

Serhiy Storchaka report at bugs.python.org
Mon May 14 19:49:28 CEST 2012

Serhiy Storchaka <storchaka at gmail.com> added the comment:

This can be achieved without intoducing a new interpreter option, using special module.

python -m prerun <code> <script> <args>...

(It may also be a runpy option).

nosy: +storchaka

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list