You Are Here:

Community: Developer Discussion Boards

#1 Old Post default.py is not available on 3rd - 2007-11-29, 10:58

Join Date: Jul 2007
Posts: 23
Location: France, Marseille
Send a message via Skype™ to noreli
noreli's Avatar
noreli
Offline
Registered User
I try porting my apps from 2nd ED to 3 rd ED and noticed that default.py is not available on the 3rd. I was using it to redirect to my main program.

As I was looking forward it for a while, I share my comments to avoid waste of time for others.

Searching on net I found a chinese webpage explaining what is technically happening : Python interpreter seems to write it self
the default.py in a tempory directory (look at the code beside) which means that you can't use it.

http://tesuri.blogspot.com/2007_07_01_archive.html

Code:
hoge = ['execfile(u"C:/python/default.py")','\n']
f = open(u"c:/private/2000b1a5/default.py","w")
f.writelines(hoge)
f.close()
The new solution was to create a signed SIS file.
Better but longuer to achieve when you're a newby (but now it's OK :-)
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
HTTP headers for S60 3rd Ed. Browser Nokia Ron General Browsing 16 2009-09-22 15:28
Python for S60 3rd Edition jplauril Python 82 2008-06-04 05:47
3rd party dual mode phone app on the S60 3rd edition SDK ZelimirD VoIP 7 2007-11-30 15:49
[Pys60, 3rd Ed.] build problems MHOOO Python 3 2007-04-09 20:00
Carbide c++ and S60 3rd Edition Feature Pack 1 Working jimgilmour1 Carbide.c++ IDE and plug-ins 1 2006-10-18 21:39

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