Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #14978

Re: Data acquisition

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Data acquisition
Date 2011-10-25 18:34 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <j86vg1$24k$1@reader1.panix.com> (permalink)
References <362e368f-829e-4477-bcfc-c0650d231029@j7g2000yqi.googlegroups.com> <j86ovu$khh$1@reader1.panix.com> <86e6bfb8-17e1-4544-97ba-7299db8a8140@p16g2000yqj.googlegroups.com>

Show all headers | View raw


In <86e6bfb8-17e1-4544-97ba-7299db8a8140@p16g2000yqj.googlegroups.com> spintronic <sidorenko.andrey@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
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 08:51 -0700
  Re: Data acquisition Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-10-25 18:15 +0200
    Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:35 -0700
  Re: Data acquisition Nick Dokos <nicholas.dokos@hp.com> - 2011-10-25 12:29 -0400
    Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:22 -0700
      Re: Data acquisition Dietmar Schwertberger <news@schwertberger.de> - 2011-10-25 23:31 +0200
  Re: Data acquisition John Gordon <gordon@panix.com> - 2011-10-25 16:43 +0000
    Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:31 -0700
      Re: Data acquisition John Gordon <gordon@panix.com> - 2011-10-25 18:34 +0000
  Re: Data acquisition "Paul Simon" <psimon@sonic.net> - 2011-10-25 15:06 -0700
  Re: Data acquisition Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-10-25 17:08 -0700
  Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-26 08:58 -0700
    Re: Data acquisition Dietmar Schwertberger <news@schwertberger.de> - 2011-10-26 19:35 +0200

csiph-web