Hi!
You should use " " (space) instead "_" (underscore). So the correct
command to run is:
python test.py
To make the file executable you have to do:
chmod +x test.py
Then you should be able to run it using:
./test.py
All the best!
Razvan ME
On Sun, 3 May 2009, H S wrote:
Hello everyone,
I am new to tinyos and following the TOSSIM tute given on wiki..
I made a file called test.py and tried to run it by :
python_test.py and chmod +x pythonn.test.py
i m geting following error
----------------------------------------------------------------------------------------
$ python_test.py
bash: python_test.py: command not found
$ chmod +x python_test.py
chmod: cannot access `python_test.py': No such file or directory
------------------------------------------------------------------------------------------
then i entered on python command prompt >>> and tried..
-----------------------------------------------------------------------------------------
$ 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.
chmod +x test.py
File "<stdin>", line 1
chmod +x test.py
^
SyntaxError: invalid syntax
chmod +x python_test.py
File "<stdin>", line 1
chmod +x python_test.py
^
SyntaxError: invalid syntax
chmod +x python_TOSSIM.py
File "<stdin>", line 1
chmod +x python_TOSSIM.py
^
SyntaxError: invalid syntax
---------------------------------------------------------------------------------------------
please help me solving this..
Thanks
H S
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help