I made a simple script that works on my PC, but doesn't on my phone. It's just this:
So on my PC it creates a textfile with 'hello world' in the same directory as the .py script. But on my phone nothing happens - no file is created. Might there be some sort of restriction that my script is not allowed to write files?Code:filename = "test83.txt" x = 'hello world' FILE = open(filename,"w") FILE.writelines(x) FILE.close()
I'm using a nokia 5800 (fw 21.0.025), with Python 1.9.4 runtime and 1.9.4 script shell. I am running the script from script shell.