| Reply | « Previous Thread | Next Thread » |
|
Wonderful news with the python beta for 3rd ed!
So I got my E61 and now I got Python on it! So now I'm ready to do some real stuff with it. But the first thing I noticed is that it's a pita to write/upload/run for every test and it would be nice to test it on my local machine first. So I downloaded pys60-compat from http://sourceforge.net/projects/pys60-compat/ , python-2.2.2 and wxPython and tried to setup everthing but it turnes out that --prefix options etc are not honored by wxPyhton so it got really messy and I gave up for today and thought maybe I should ask here. So are there anyone here using Linux to develop on the S60? How have you setup things? What tools do you use etc... Thanks in advance! |
|
i still write and upload. i just found out that putting the script in E:/Phyton is enough to be executed via the shell. i have a N91 and i do it on linux. beside that i have also set up a windoze system for c++ and the emulator. to load it via the shell seems also the only way to run a script. otherwise they aren'r recoginzed as execs.
but thanks for the tip i will try the emulation too. |
| zsoltbarat |
| View Public Profile |
| Find all posts by zsoltbarat |
|
update: i just installed pys60-compat and wxPython. installation on gentoo is pretty easy since wxPython is in portage. pys60-compat has to be copied to a PYTHONPATH and you are ready to go. the use of pys60-compat seems to be a bit limited, currently. the audio-module for example isn't supported, but for testing the gui (listboxes, menus) it is allready usefull.
|
| zsoltbarat |
| View Public Profile |
| Find all posts by zsoltbarat |
|
Works for me too, although only for python2.4
This is what you need to do for ubuntu: download pys60-compat-0.4.tgz sudo apt-get install python-wxgtk2.6 python-wxtools wx2.6-i18n then in the script: if 'linux2' == sys.platform: sys.path.append('....../s60-compat') and everything is fine. I find it very usefull as copying it to my E70 and executing it there is more time consuming. This way I catch immediately syntax errors and any GUI error. |
|
sorry, made a mistake
|
| nokiameister |
| View Public Profile |
| Find all posts by nokiameister |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Python for S60 3rd Edition | jplauril | Python | 82 | 2008-06-04 05:47 |
| S60 2nd OR 3rd edition for new software development | patil_ruturaj | Symbian Tools & SDKs | 1 | 2006-06-30 10:30 |
| S60 2nd OR 3rd edition for new software development | patil_ruturaj | Mobile Java Tools & SDKs | 3 | 2006-06-30 09:57 |
| What is going on with Vibration on S60? | amd_rikus | Mobile Java General | 3 | 2006-06-16 01:29 |
| TTime : TInt64& Int64() problem in S60 3rd edition | iulian_moldovan | Symbian Tools & SDKs | 3 | 2006-01-24 14:07 |