Question

Camilo Andres Roca Duarte carocad at unal.edu.co
Sun Jul 31 01:38:33 CEST 2011


Hello
My name is Camilo Roca, I'm a student and recently installed the 2.7.2 Python version. The problem is that anytime I try to run a script from the Python Shell it returns an error message. I am new using python so I am not sure what to do since what I'm typing in the shell is in a BegginersTutorial.

$ python myfunctions.py
SyntaxError: invalid syntax

This was taken from http://openbookproject.net/thinkcs/python/english2e/ch05.html in the 5.8 Numeral "Unit testing with doctest".

The only way I can run a script is opening it on a separate window and clicking in Run Module.

I would apreciate any help you could give me

Thanks

________________________________________
Camilo Andrés Roca Duarte 
Estudiante de Ingeniería Eléctrica
C.C: 1.128.397.163

Salve un árbol. ¡No imprima este correo electrónico a no ser que sea realmente necesario!
 
Save a tree. Don't print this e-mail unless it's really necessary !



More information about the Python-list mailing list