[maemo-developers] [maemo-developers] python on maemo

From: Kasper Souren kasper.souren at gmail.com
Date: Wed May 10 00:45:04 EEST 2006
> Nokia770-13:/home/user# run-standalone.sh ./uitest.py
> ./uitest.py: 1: import: not found
> ./uitest.py: 2: import: not found
> ./uitest.py: 4: class: not found
> ./uitest.py: 6: Syntax error: "(" unexpected

Looks like it's not executing as Python, but as shell.
The first line should look something like #/usr/bin/python2.4
It looks like a comment, but it's not just a comment.
Otherwise you can try to run-standalone.sh python2.4 uitest.py

More information about the maemo-developers mailing list