ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Could you post the top part of the script you ran? I bet you forgot to add a #! /usr/bin/python
or similar to the top of your file.
2 | No.2 Revision |
Could you post the top part of the script you ran? I bet you forgot to add a #! /usr/bin/python
or similar to the top of your file.
If you have an executable file asd.py like
import numpy
a = 1
...
and do an './asd.py', Ubuntu will assume a bash-script (as there is no shebang) Now the first command is 'import' which can be used to make partial screenshots: import (bash). This is also the reason why your mouse pointer changes. (just type 'import asd.png' and mark a region) This also explains the new files (it's just the images (most probably postscript files)).