| Reply | « Previous Thread | Next Thread » |
|
Hi all,
Im looking for some help.. i have a script, i will admit its not mine!!, however i would like to use it for a test application on my phone while i learn python. i want to save the hyperlinks from a given URL into a file. When i run this file in my PyDev IDE the URLS show and everything works fine but when i try the code out on my phone (Nokia E65) i get errors!! The error is saying that ive an "import error" no module named sgmllib!! Are there some libraries that are missing on the mobile platform?? Thanks For All Your Help Guys |
|
To keep it relatively small, the PyS60 distro contains only a small subset of the standard Python modules. Some of the missing modules should work if you copy them from the Python 2.2.2 distro.
|
|
Hi ,
Thank you for fast response. Where would you place the sgmllib file so that i make it appear in the emulator im using. Thanks again |
|
Quote:
![]() |
|
Quote:
PYTHONPATH enviroment variables tells where to look .py files. It maps to sys.path in Python execution context. Example: Code:
import sys
sys.path.append("E://magic_folder_on_my_memory_card")
import sgmllib
Note that this technique does not work on native extensions (.pyd files). Mikko Ohtamaa Twinapex Research http://www.twinapex.com |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |