You Are Here:

Community: Developer Discussion Boards

#1 Old I can't run Python script on my mobile. HELP!!! - 2007-05-29, 14:16

Join Date: May 2007
Posts: 4
Nirvana
Offline
Registered User
My Mobile is NOKIA 5500 sport

I installed the *.sis

PythonForS60_1_3_21_3rdEd_selfsigned.SIS
PythonScriptShell_1_3_21_3rdEd_selfsigned.SIS

The package installed without any error.

And then it made a file named "Python" on my minSD card.

But I don't know how to run the Python script with the PythonScriptShell.
I try to run Python through the way
Menu->My own->Python
But nothing happend.

Who can HELP me?

By the way,I didn't install any other edition of Pys60 on my mobile.

Wait your helping.

Nirvana.
Reply With Quote

#2 Old Re: I can't run Python script on my mobile. HELP!!! - 2007-05-30, 11:21

Join Date: Feb 2005
Posts: 35
janimr
Offline
Registered User
Hi,
there is a bug in 1.3.21 build that prevent Python that is installed to memory card to work. Try to install to the phone memory, or use older release.

- janimr
Reply With Quote

#3 Old Re: I can't run Python script on my mobile. HELP!!! - 2007-05-30, 13:48

Join Date: May 2007
Posts: 4
Nirvana
Offline
Registered User
Thanks the problem handled with.

Er..
By the way,where can I find the model of NOKIA 5500 for Python?
Reply With Quote

#4 Old Re: I can't run Python script on my mobile. HELP!!! - 2007-05-30, 14:04

Join Date: May 2007
Posts: 4
Nirvana
Offline
Registered User
Thanks the problem handled with.

Er..
By the way,where can I find the model of NOKIA 5500 for Python?

Code:
import appuifw
import e32

class MyProject:
        def __init__(self):
                self.t=appuifw.Text()
                self.app_lock=e32.Ao_lock()
                appuifw.app.screen='normal'
                appuifw.app.body=self.t
                appuifw.app.menu=[(u'menu',self.p),(u'menu2',self.p)]
                appuifw.app.exit_key_handler=self.quit

        def quit(self):
                self.app_lock.signal()

        def p(self):
                return

        def loop(self):
                self.app_lock.wait()

main=MyProject()
main.loop()
When I run the script the python on my mobile is lost.It doesn't work.
Who can tell me what's the matter with the script?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing a Python script? mpo Python 6 2007-04-19 08:33
accepting incoming using python script dayashankar Python 1 2006-11-30 15:38
Mobile Podcasting - will it happen? mobile monte News, Announcements and Job Listings 0 2006-09-23 00:45
Run Python script djoumbou Python 3 2005-04-01 15:32
run servlet on unix server using nokia mobile sohilpatel Mobile Java Networking & Messaging & Security 3 2005-03-30 18:16

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia