[Tutor] code works in windows command but not ubuntu terminal

Keith Winston keithwins at gmail.com
Fri Jan 24 10:22:20 CET 2014


The file would appear to not be on your search path, that is, in any
directory in which Python is expecting to find it. Either move it to a
directory on your path, or change your path to include it's location.
The easiest way to find out what your path is, that I know, is

import sys
sys.path

Good luck! Warning, I'm still a beginner myself, I might be mistaken
about something... If you don't understand what I'm talking about, try
to be very specific about what you do understand, it'll help people
formulate clear responses.


More information about the Tutor mailing list