| Reply | « Previous Thread | Next Thread » |
|
Hello,
Does anyone know why this is happening. I Python installed on my computer (Windows Vista). This happens also when I try to import e32 too. >>> import appuifw Trackback <most recent call last>: File "<stdin>", line i, in <module> ImportError: No module named appuifw >>> If you can explain, or tell me how to get the import to work I would be thankful. Regards, Rick Programerx@aol.com |
| RickTheGreat |
| View Public Profile |
| Find all posts by RickTheGreat |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
Hi,
If you mean you have standard Python (2.5 or some similar version, for Windows), than it's normal for it not to work. e32, appuifw and many other modules are specific to PyS60 and cannot be found in regular Python.
Last edited by bogdan.galiceanu : 2008-09-30 at 05:56.
|
|
Join Date: Feb 2008
Posts: 2,546
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
welcome to the forum nokia discussion boards. yes bogdan is true you cant import all the PyS60 modules in the normal python 2.5. You can try at the interactive console. I feel you need a start for the python for S60 please visit the links below: Forum Nokia Python Wiki Mobapps PyS60 FAQ thread Hope it helps you enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hello bogdan.galiceanu,
I am running Python 2.5.2 on Vista. Can you tell me how to install PYS60 on my Lab-Top, so I can import modules (e32 & appuifw)into my programs. Regards, Rick |
| RickTheGreat |
| View Public Profile |
| Find all posts by RickTheGreat |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
I'm not sure there is a way. Simply copying the module files over to the computer doesn't seem to work. Though this may not be the most comfortable solution, write your scripts first and then forward them to the phone to test them. Or you can test them on the emulator.
|
|
Quote:
Best Regards, Croozeus |
|
Hello,
1. Are you telling me that the e32 and appuifw modules can only be accessed on cell phone? That I can not load these modules into a program if I am writing it on my pc. 2. Can I load PythoneForS60_1_4_4_3rdEd.sis and PythoneScriptShell_1_4_4_3rdEd.sis modules into my Nokia Series 60 Emulator, and generate a program. If yes, into which directory under the Emulator do I load these modules. 3. If I can only access these modules on a cell phone, how do I create sis module that can be loaded on to other phones? Regards, |
| RickTheGreat |
| View Public Profile |
| Find all posts by RickTheGreat |
|
Join Date: Feb 2008
Posts: 2,546
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|||
|
Quote:
Quote:
Quote:
I hope you got every thing now ![]() Enjoy Pythoning ![]() Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
Best Regards, Croozeus |
|
Quote:
I am confused by this answer: what did you mean by "cant" (can do or can not do this. Can I import e32 into my normal python program, and be able to test a program on my computer. I want to be able to run a program that uses e32 in the interactive mode on my computer, rather that write a line of code and then have to import it into the phone to test. Regards Rick PS - I am enclosing a copy of your reply that confused me. --- |
| RickTheGreat |
| View Public Profile |
| Find all posts by RickTheGreat |
|
Join Date: Feb 2008
Posts: 2,546
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
Hi rick
Really sorry that my reply confused you. Now what you can do is write any thing in the python script in your pc.But for checking it or i mean for running those scripts you need a device or if you dont then you can use a sdk emulator. Did you got the point now?? Waiting for a reply from you. Enjoy pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hi rick,
gabba88 is correct. I am also having the same problem. So make a separate file tht contains the python script and try to run it from emulator. Or transfer your file to phone test it. Regards |
|
Hello Python Users / GABA88,
Question 1, if e32 and appuifw modules can only be accessed on cell phone, how do I create a program that can be exported to other cell phones? Are you saying that I must compile an executable on the cell phone and then export it to a computer for Internet distribution? Is the SIS file generated on the cell phone and downloaded to a computer for distribution. Question 2, If I load the Python into the S60 emulator can I compile a program in the S60 emulator that is located on a computer? I am using a laptop with vista and S60 3rd Edition and matching Python software. RickTheGreat |
| RickTheGreat |
| View Public Profile |
| Find all posts by RickTheGreat |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
Question 1: appuifw and e32 modules can also be used in emulator. About compiling, you can do it on the phone using an application, but I recommend you to compile it on your computer using Ensymble, since this tool give us many more options ![]() Question 2: You won't compile using emulator at all. Emulator is just for testing your script, if every thing is OK with the script, then compile it using Ensymble, as I described in question 1 ![]() Hope it helps, Rafael. |
|
I THINK YOU HAVE TO MAKE THE SEPARATE FILE FOR STORING OF PYTHON SCRIPT.
AND ONE MORE THINK IS THAT THE WHILE INSTALLING PYTHON THE TWO FILE (1) PYTHON FOR S60 FOR 3RD EDITION AND (2)S60 FOR 3RD EDITION MUST BE COMPLITELY INSTALLED IN YOUR PC. AND MAKE SURE IT WILL RUN IN WINDOWS VISTA ENVIRONMENT. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Phone caller ID using SIP!! | nasooor2004 | Mobile Java Networking & Messaging & Security | 1 | 2008-04-23 05:46 |
| j2se server j2me client bluetooth connection problem | bepolat | Mobile Java Networking & Messaging & Security | 1 | 2007-11-27 16:18 |
| problem on running my application | rsf | Python | 7 | 2007-10-21 16:56 |
| GoogleIt | deepika.mangla | General Symbian C++ | 4 | 2007-01-08 02:07 |
| SocketConnection Work on 6600&Emulators BUT NOT IN 6680 | eerant | Mobile Java Networking & Messaging & Security | 4 | 2006-03-11 01:35 |