In <[email protected]> smith jack 
<[email protected]> 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
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to