I just installed python 2.2.2 into Windows Vista and run "py_compile.compile("C:\\Symbian\\9.1\\S60_3rd_MR\\Epoc32\\winscw\\c\\python\\16puzzle.py")
which created a file named "16puzzle.pyc"
I moved the file from PC to E61i and tried to start it up from pyS60 python shell:
I believe that line contains "import appuifw"... The script works ok in emulator and in E61i device when used as PY file. I can't figure out how to continue. What's the problem? How to debug this?Traceback (most recent call last):
File "C:\private\2000b1a5\default.py", line 81, in menu_action
File "C:\private\2000b1a5\default.py", line 65, in query_and_exec
File "e:\python\16puzzle.pyc", line 2
I don't have any external 3rd party libraries, everything is as default and basic as possible. I even have Main class for some reason, even thought it's really easy script. Howabout importing os and sys, shouldn't that be possible, too?
Start of script:
from random import randint