You Are Here:

Community: Developer Discussion Boards

#1 Old embed Python in Symbian C++ - 2008-05-12, 20:31

Join Date: Apr 2008
Posts: 18
icoming
Offline
Registered User
Hi everyone,

I tried to embed Python in Symbian C++.
I read http://wiki.forum.nokia.com/index.ph...ymbian_C%2B%2B
and copy the code. I finally compiled it correctly, but when I ran the program, it couldn't find the python module Bar.
Again, I copied the python code. but I don't know where I should put the python module, so I put it in C:\Symbian\9.2\S60_3rd_FP1\Epoc32\winscw\c\python.
I tested my program in the emulator.
Can anyone tell what is the right path to put the python module?
Reply With Quote

#2 Old Re: embed Python in Symbian C++ - 2008-05-15, 20:24

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
c:\resource might be better choice. It will import scripts from sys.path. Try to evaluate what that string is in runtime (call python c api to eval "''.join(sys.path)" etc).
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
Ask The Expert: dcrocha on Python Nokia Ron Interviews & Ask the Experts 15 2008-04-21 21:51
[announce] the first Mobile Python book is now available ! cyke64 Python 1 2008-01-08 10:58
[announce] Mobile Python book soon in Sept 2007 ! cyke64 Python 11 2007-10-03 20:46
Oracle Database Lite 10g Available for Symbian OS Phones chirag_cel News, Announcements and Job Listings 2 2006-12-11 08:00
Current Symbian Development Opportunities...!! mobile2004 General Symbian C++ 0 2005-01-17 18:58

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ