Hello everyone..
 
I m doing the tutorial of TOSSIM on wiki http://docs.tinyos.net/index.php/TOSSIM
 
tutorial of "configuration of network" in TOSSIM
 
I tried to read the file and store the data in the radio objects:
 
--------------------------------------------------------------------------------------------------
ad...@dipl-4 /opt/tinyos-2.x/apps/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.
>>> f = open("topo.txt", "r")
>>> lines = f.readlines()
>>> for line in lines:
.... s = line.split()
  File "<stdin>", line 2
    s = line.split()
    ^
IndentationError: expected an indented block
---------------------------------------------------------------------------------------------------------
 
please help me in troubleshooting this..
 
Regards
H S


      New Email names for you! 
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to