View Single Post
Posts: 157 | Thanked: 96 times | Joined on Nov 2007 @ Oxford, UK
#19
Originally Posted by GeraldKo View Post
I've tried, for example:

mobidedrm.py stick.prc stickX.prc VVBQTEW$DJ

When, in the Python Run function under Windows, I put in mobidedrm.py as the script and I put in the rest of what I have there as the argument, it creates a new, unencrypted file "stickX.prc So my arguments are right and my script works.

My reading makes me wonder about Paths and where the script should be. (I put in a path to Python in my environment variable in XP; that didn't seem to help; and I have no idea what to do in that regard, if anything, in Maemo.)

Is Python runtime not the right program for running a script? I've seen references to iPython -- is that what I should be running? Any ideas?
No, at the >>> prompt you can enter python statements, but to run a script you do it from the shell prompt. Just type python followed by the script name and any arguments:

$ python mobidedrm.py stick.prc stickX.prc VVBQTEW$DJ
 

The Following User Says Thank You to Duncan For This Useful Post: