[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>
<http://bugs.python.org/issue14803>
_______________________________________


More information about the Python-bugs-list mailing list