You Are Here:

Community: Developer Discussion Boards

#1 Old methods list for extensions? - 2008-08-22, 19:39

Join Date: Aug 2008
Posts: 28
skewlboy
Offline
Registered User
I spent about 2 or 3h this afternoon around searching for something like JavaDOC, for PyS60.
Initially wanted something to integrate with PyDev (in eclipse) so I could have code completion but then I gave up on that and just wanted somewhere I could check from a list on methods on python objects.
Like, I wanted to know what can I call in appuifw.
Or, the list for socket module methods.
Or, my original goal in finding this, know the methods for the access point object returned for socket.access_point(int).
The methods I know on this last object are: start,stop and ip. But got to know them from examples found, not from a specification.
Just downloaded PyS60 source hoping I'd find something there, but nothing found (for my ignorant eye at least).

Any tips would be appreciated. A site like Sun Java API reference or cplusplus.com..

Thanks
Reply With Quote

#2 Old Re: methods list for extensions? - 2008-08-22, 19:46

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Well, for regular Python you can check http://docs.python.org/lib/ for each and every module. For PyS60 download PythonForS60_1_4_4_doc.pdf from Sourceforge. It's the official documentation.
Reply With Quote

#3 Old Re: methods list for extensions? - 2008-08-22, 20:58

Join Date: Aug 2008
Posts: 28
skewlboy
Offline
Registered User
Yeah, it was the first thing I did in my 2-hour-and-something quest. No info on the access point object properties/methods, except in the examples (which uses the 3 methods I said previsouly)
Reply With Quote

#4 Old Re: methods list for extensions? - 2008-08-22, 23:22

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by skewlboy View Post
Yeah, it was the first thing I did in my 2-hour-and-something quest. No info on the access point object properties/methods, except in the examples (which uses the 3 methods I said previsouly)
Reading source code is the best documentation for a module !
access_point is S60 specific ...
you can also make this in the PyS60 console:

Code:
import socket
sap=socket.select_access_point()
dir(sap)
ap=socket.access_point(sap)
dir(ap)
['ip','start','stop']
BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#5 Old Re: methods list for extensions? - 2008-08-23, 13:11

Join Date: Aug 2008
Posts: 28
skewlboy
Offline
Registered User
yeah, tried that too (reading PyS60src) but couldn't find anything about access point object..
But amazing tip that dir()

Thank you indeed, shame there's only those 3 after all, was hoping on some method to get the proxy settings

thanks once again
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
Problem with Skin enabling - disabling and Setting List in S60 sauvikds Series 40 & S60 Platform Feedback 6 2008-08-23 15:29
Problem with Skin enabling - disabling and Setting List in S60 sauvikds Symbian User Interface 1 2008-08-22 14:45
Problem with Skin enabling - disabling and Setting List in S60 sauvikds General Discussion 1 2008-08-21 13:44
6680 and bluetooth service profiles ceruault Mobile Java Networking & Messaging & Security 1 2005-10-08 23:24
Bluetooth Virtual Serial Port mealos Bluetooth Technology 2 2004-12-03 04:46

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