hi all
    my question is related to tossim in tinyos 2.x.to run any simulation
first we have to run python environment then there are two ways either write
a script you want to run,save it in a file with .py  or run tossim
interactively. when i write script in a text file and save it with .py and
run it by first running python environment and then call this file as
mentioned in tutorial but i am getting some error in opening this file the
error is:
[EMAIL PROTECTED] /opt/tinyos-2.x/apps/adeel/RadioCountToLeds
$ python
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> python_test.py
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'python_test' is not defined
>>>

or is there any other way of calling this file.can anybody help me out...
Thanks & Best Regards
Adeel Akhtar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to