Hi
I've problem with this script:
#i! usr/bin/python
from TOSSIM import *
t=Tossim([])

noise = open("meyer-heavy.txt", "r")
lines = noise.readlines()
for line in lines:
    str = line.strip()
    if (str != ""):
        val = int(str)
        for i in range(0, 7):
            t.getNode(i).addNoiseTraceReading(val)

for i in range(0, 7):
    t.getNode(i).createNoiseModel()

when I want to compile this script I've got this error: from TOSSIM
Import * ImportError: No module named TOSSIM.
I don't know what I have to do now. Please help.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to