You Are Here:

Community: Developer Discussion Boards

#1 Old Smile can i use any module i want in pys60? - 2007-09-11, 21:52

Join Date: Sep 2007
Posts: 33
yanhua
Offline
Registered User
hi everyone. I'm just a beginner of PyS60. I'm wondering if it is possible to use every module of python library on the s60 environment. Say, I need to use DOM and 4suite,which is a third party lib. Is it the same situation to develop python project on s60 as on a PC?
Reply With Quote

#2 Old Re: can i use any module i want in pys60? - 2007-09-12, 07:37

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
hi everyone. I'm just a beginner of PyS60. I'm wondering if it is possible to use every module of python library on the s60 environment. Say, I need to use DOM and 4suite,which is a third party lib. Is it the same situation to develop python project on s60 as on a PC?
Hello yanhua

See actually python for s60 can be compared with normal course programming on the PC.But its not all the same.And talking about modules--You can use the inbuilt modules directly by importing them..Moreover there are new modules coming up which you need to install on ur device befor using them.

Hope that helps...

-Pankaj Nathani
Reply With Quote

#3 Old Talking Re: can i use any module i want in pys60? - 2007-09-12, 21:34

Join Date: Sep 2007
Posts: 33
yanhua
Offline
Registered User
i tried this:

copy minidom.py to C:\S60\devices\S60_3rd_MIDP_SDK_FP1\PythonForS60_SDK_3rdEd\epoc32\winscw\c\resource

but when i try to import minidom,the cosole says 'no module named minidom'

??
Last edited by yanhua : 2007-09-12 at 21:51.
Reply With Quote

#4 Old Re: can i use any module i want in pys60? - 2007-09-14, 15:03

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by yanhua View Post
i tried this:

copy minidom.py to C:\S60\devices\S60_3rd_MIDP_SDK_FP1\PythonForS60_SDK_3rdEd\epoc32\winscw\c\resource

but when i try to import minidom,the cosole says 'no module named minidom'

??
Hey yanhua,

U should install the libraries on the phone.



-Pankaj Nathani
Reply With Quote

#5 Old Re: can i use any module i want in pys60? - 2007-09-17, 22:24

Join Date: Sep 2007
Posts: 33
yanhua
Offline
Registered User
Quote:
Originally Posted by croozeus View Post
Hey yanhua,

U should install the libraries on the phone.



-Pankaj Nathani

right,Pankaj, that's the point! But I dunno where should I install the libraries?
Reply With Quote

#6 Old Re: can i use any module i want in pys60? - 2007-09-19, 11:28

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
@yanhua

1st you have to transfer the lib file (.py) in your device.Python and Pythonshell must be installed on ur device before hand.Now when u open this lib file the file opens with python and asks you if u want to install it as a python scrips or a python lib module...You got to choose the latter.Then its installed...

Hope u got it,

-Pankaj Nathani
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
Does PyS60 have Infrared module? bandz_fab Python 5 2008-09-08 14:52
Carbide.j 1.5 and Netbeans 5.5 beta 2 ovjo12 Mobile Java Tools & SDKs 5 2007-06-11 06:43
how to distribute pys60 based apps? chall3ng3r Python 4 2007-03-27 15:13
Tip: Versioning and distribution issues in PyS60 otsov Python 0 2006-03-06 12:56
[Announce] SOURCE CODE and PyS60 1.3.1 is HERE ! cyke64 Python 3 2006-02-02 11:12

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