On Thu, Sep 16, 2010 at 12:11 AM, Richard D. Moores <rdmoo...@gmail.com> wrote:
>
>
> On Wed, Sep 15, 2010 at 20:25, Richard D. Moores <rdmoo...@gmail.com> wrote:
>>
>> 64-bit Vista.
>>
>> I have no problem running 3.1 scripts at the command line. However 2.6
>> scripts seems to require 2.x. For example, I get this error showing that the
>> old 2.x print won't do:
>>
>> C:\P26Working\Finished>solveCubicEquation.py
>>  File "C:\P26Working\Finished\solveCubicEquation.py", line 19
>>    print "a is", a
>>               ^
>> SyntaxError: invalid syntax
>>
>> Dick Moores
>
> Seems I was misunderstood.
>
> Some of the scripts written for 2.6 use libraries not yet available for 3.x.
> So I want to know not how to modify them, but how to run them at the command
> line.
>
> Dick
>
> _______________________________________________
> Tutor maillist  -  tu...@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>

I'm not experienced enough to have utilized all features but it does
seem there would be a way to import and after a quick google search I
think this might be the answer:

http://docs.python.org/using/cmdline.html#envvar-PYTHONSTARTUP

>From my brief review of it, it should call from future automatically
in each interactive session

I'll probably look further because it interests me as well.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to