my question here
I am trying to run a python script in Linux environment. It is Python 2.7.9 and the script is in folder /home/pi. I use the command f.write to write to the file and although it does open the file it does not write to it I then tried using the print statement but no, it does not print to the file but instead prints to the Python shell.
I am not sure where the Python shell features in this.
Any ideas?
I am trying to run a python script in Linux environment. It is Python 2.7.9 and the script is in folder /home/pi. I use the command f.write to write to the file and although it does open the file it does not write to it I then tried using the print statement but no, it does not print to the file but instead prints to the Python shell.
I am not sure where the Python shell features in this.
Any ideas?
my code here