Help With PyS60 SCRIPT

Asked by Rhanel Candia

Hi. Im trying to build a very basic script as follows:

file: menu.py

import appuifw

appuifw.multi_query(label1, label2)
data1, data2 = appuifw.multi_query(u"Type your name:",u"Type your surname:")

print data1
print data2

after installing it. i tried to run the script and the Interpeter said:

Traceback (most recent call last):
  File "E:\system\apps\Python\default.py", line 81, in menu_action
    f()
  File "E:\system\apps\Python\default.py", line 65, in query_and_exec
    execfile(script_list[index][1].encode('utf-8'), script_namespace.namespace)
  File "E:\system\apps\Python\my\menu.py", line 1, in ?

--

im using NOKIA N70-1 ME S60 2ND ED FP3.
w/
Python 1.4.5 S60 2nd Ed FP3
Python Script Shell 1.4.5 2nd Ed FP3
and
Python Modules Pack 1.33
Miso 1.92

Can anyone help me please? I want to learn PyS60.

Question information

Language:
English Edit question
Status:
Answered
For:
PyS60 community Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) said :
#1

Please go to http://forum.nokia.com and Python forum if the problem is not related building native applications with PyS60 community edition.

Can you help with this problem?

Provide an answer of your own, or ask Rhanel Candia for more information if necessary.

To post a message you must log in.