In <86e6bfb8-17e1-4544-97ba-7299db8a8...@p16g2000yqj.googlegroups.com> 
spintronic <sidorenko.and...@gmail.com> writes:

> > Are you in the same directory in both cases?
> > Does PYTHONPATH and/or sys.path have the same value in both cases?

> It looks that yes but how can it matter? All I need it is to import
> the visa module and it works well.

If you run the two cases from different directories, and the current
directory is in PYTHONPATH or sys.path, and one of the directories
contains a python file named "visa.py" and the other doesn't, that
culd account for the difference in output.

Do you have access to the visa.py source code?  Can you add a simple
print statement near the top of the module so that we know the same
visa.py module is being imported in both cases?

> > Show us an exact transscript of both executions.

> There is nothing but "numbers". Or do you mean something else? I do
> not receive any errors, only different results ...

I was more interested in the exact commands you used to run both cases,
rather than the output.

-- 
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