OK I did a fair bit more reading on python since I know so little
about it, and now I'm even more confused given the following.
according to the python docs when I do :
import ownet
(as per the program my coop student wrote)
python then looks for "ownet.py" (or I guess "ownet.pyc").
Now, funny thing is that I cannot find either of those files on one of
the systems where this is working. That's if I do "find / -iname
ownet.py" (or .pyc).
WTF am I doing wrong here?
I also found and tried this :
import sys
sys.path.append('/opt/owfs/lib')
But that still does not help because I guess there is no "ownet.py" or
"ownet.pyc" in there. But given my first report above that I cannot
find those files on the system where this works, I am not really sure
what to think now.
root@ogic2:~/owfs-2.9p1# /opt/owtg/bin/detect_sensors2.py
Traceback (most recent call last):
File "/opt/owtg/bin/detect_sensors2.py", line 23, in <module>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers