I got one sample python script. I try to run it in Emulator, but I got one error "importerror no module named mimetypes". I want to know how to this error.
regards
K.JAYAKUMAR
I got one sample python script. I try to run it in Emulator, but I got one error "importerror no module named mimetypes". I want to know how to this error.
regards
K.JAYAKUMAR
I take it you tried with PyS60 1.4.5. It works on 1.9.5 so use that version if possible.
If you really have to use 1.4.5 you can download the Python 2.2.2 files from here. There you will find mimetypes.py and posixpath.py. Copy them to your phone or emulator's installation directory and tell PyS60 where to look for them:
Code:#Let's say you put them in C:\Python import sys sys.path.append("C:\\") import mimetypes
Last edited by bogdan.galiceanu; 2009-05-28 at 15:52.