In <mailman.350.1314108212.27778.python-l...@python.org> smith jack 
<thinke...@gmail.com> writes:

> but i can invoke it in eclipse, what's wrong?
> the script refered to another python script in eclipse project.

> f:\project\src\a.py
> f:\project\src\lib\b.py

> there is such lines in a.py
> from lib import b

> i can invoke a.py very well in eclipse

> but failed when using python f:\project\src\a.py, what's wrong?
> (the error msg shows a.py cannot find b.py) , what should i do in
> order to run a.py using command line?

What is your PYTHONPATH environment variable setting?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to