You Are Here:

Community: Developer Discussion Boards

#1 Old Question how to proceed after importing a module - 2008-11-01, 08:24

Join Date: Sep 2008
Posts: 32
Location: India
gnanasenthil654321
Offline
Registered User
hi,after importing a module how to find out the functions of the module and the parameters for the functions?coming to the very basic how to find the module that can fulfill my necessity.i have installed ped-s60 in nokia 6670.also tell me how to extend ped-s60 using plugins/modules/extensions.i am a newbie .....help me as soon as u can
Reply With Quote

#2 Old Re: how to proceed after importing a module - 2008-11-01, 15:54

Join Date: Mar 2007
Posts: 103
Location: Brazil
cabezonxdg
Offline
Regular Contributor
Using dir function:

Code:
import moduleX

dir(moduleX)
or give a try on this:

http://www.python.org/doc/2.5.2/lib/module-inspect.html might help.


Wiki Contributor of the Month (May).
Winner of the May Contest on Wiki.
Reply With Quote

#3 Old Re: how to proceed after importing a module - 2008-11-01, 16:19

Join Date: Sep 2007
Posts: 401
Location: Bhavnagar
Send a message via Yahoo to james1980
james1980's Avatar
james1980
Offline
Forum Nokia Champion
Hi,
you can use the dir option or there is another method for PED. After running the ped click on option-tools-setting-python file-shortcut. Add new short cut for autocomplete. Now just type the name of the module follow by a dot (ex:appuifw.) and than press the short that you define and it wil show you all possible function for that module.

BR


Jajal Mehul
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
[Announce] keypress module 1.0.5 y.a.k Python 60 2009-05-30 14:26
[announce] waplib module 0.0.3: tiny module to extend urllib module Hiisi Python 9 2008-08-30 08:05
Problem Importing Module sachingupta107 Python 7 2008-08-19 11:57
importing Keypress module in s60 3rd edition C++ SDK FP2,Beta Jesupauline Python 1 2008-03-08 12:54
Carbide.j 1.5 and Netbeans 5.5 beta 2 ovjo12 Mobile Java Tools & SDKs 5 2007-06-11 06:43

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