On Nov 19, 2008, at 6:38 PM, CIS Project - S. Khan wrote:

> I am working through the TOSSIM tutorial for T2.
>
> I've copied packets.py to the RadioCountToLeds folder
>
> test.py works but packets.py does not. The error message includes:
>
> RadioCountToLeds
> ./packets.py : line 4 : import : command not found
> ./packets.py : line 5 : from : command not found
> ./packets.py: line 6 : from : command not found
> ./packets.py : line 8 : syntax error near unexpected token '( '
> ./packets.py : line 8 : 't = Tossim([])'
>
>
> I copied packets.py from the Tossim folder to the RadioCountToLeds  
> folder and made no other changes. What am I missing?
>

python packets.py

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to