import newer

xinyou yan yxy.716 at gmail.com
Sun Mar 20 00:27:38 EDT 2011


I begin to study with  <<learning python>>

I met a problem with import.

first
I creat a  file  hello.py

then in fedora /14
I type python to  the interpreter

>>> import hello
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named hello

What should i do now.
The  current path is not  added  defaultly ?



More information about the Python-list mailing list