"Andrew Martin" wrote
am having some trouble. First off, I do not understand how to import
things
into the python shell. I have a script I saved as chap03.py, but
when I try
to import it into the python shell i get an error like this:
from chap03 import *
Traceback (most recent call last
On Sat, 12 Jun 2010 02:50:26 pm Andrew Martin wrote:
> >>> from chap03 import *
>
> Traceback (most recent call last):
> File "", line 1, in
> from chap03 import *
> File "C:/Python26\chap03.py", line 2
> print param param
> ^
> SyntaxError: invalid syntax
This te
On 12/06/2010 05:50, Andrew Martin wrote:
Hey, everyone, I am new to programming and just downloaded Python 2.6 onto
my windows vista laptop. I am attempting to follow 4.11 of the tutorial
called "How to Think Like a Computer Scientist: Learning with Python v2nd
Edition documentation" (
http://op
Hey, everyone, I am new to programming and just downloaded Python 2.6 onto
my windows vista laptop. I am attempting to follow 4.11 of the tutorial
called "How to Think Like a Computer Scientist: Learning with Python v2nd
Edition documentation" (
http://openbookproject.net/thinkcs/python/english2e/c