| Reply | « Previous Thread | Next Thread » |
|
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() Better but longuer to achieve when you're a newby (but now it's OK :-) |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |