[Python-Dev] PYTHON3PATH
"Martin v. Löwis"
martin at v.loewis.de
Wed Jan 13 22:05:03 CET 2010
Lennart Regebro wrote:
> On Wed, Jan 13, 2010 at 18:40, Ralf Schmitt <ralf at brainbot.com> wrote:
>> The first thing I got while trying to run a python3 prompt few days ago,
>> was an error. python3 tried to read my $PYTHONSTARTUP file, which used
>> print statements. people will have to run both python 2 and python 3
>> code at the same time. Using different environment variables will make
>> this easier.
>
> What do you need to do in the PYTHONSTARTUP file?
I personally set up readline: set tab completion, and load the history
of commands from the previous session.
Of course, I don't know what Ralf uses it for.
Regards,
Martin
More information about the Python-Dev
mailing list