[Python-Dev] PYTHONSTARTUP and -i (original) (raw)
Draic Kin drekin at gmail.com
Fri Feb 15 17:28:40 CET 2013
- Previous message: [Python-Dev] PYTHONSTARTUP and -i
- Next message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello. Python doc says that the PYTHONSTARTUP file is not read when a script is run with the -i option. Is there a reason for this? Is there a way to get the functionality i.e. to be able to run specified Python file just before the first prompt of interactive interpreter?
Use case: I want to run my own repl on Windows, because there's a problem with unicode IO in the console. See http://bugs.python.org/issue1602 .
Regards, Drekin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130215/0fbf8c6a/attachment.html>
- Previous message: [Python-Dev] PYTHONSTARTUP and -i
- Next message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]