[Tutor] Error Using exec to Run Module Files

2010-08-17 Thread mes...@juno.com
I'm a rank beginner in Python. Took advantage of the O'Reilly one-day sale of 'Learning Python' announced on the tutor, and starting to work my way through it. When I tried out an example from pg57, on Using exec to Run Module Files, I get the following result: >>> exec(open('script1.py').read

[Tutor] adding to PYTHONPATH

2011-04-19 Thread mes...@juno.com
How can I add a directory to PYTHONPATH? Using Ubuntu 10.04. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] ubuntu hassles.

2014-01-06 Thread mes...@juno.com
I tried eryksun's suggestion on installing python3.3: "Ubuntu has a Python 3.3 package. Installation should be simple: $ sudo apt-get update $ sudo apt-get install python3.3" on my Ubuntu 12.04 system and got the following message: E: Unable to locate package python3.3 E: Couldn't find any