[PythonCE] Import inbox error

Mark Doukidis mdoukidis at gmail.com
Wed Dec 9 02:15:40 CET 2009


Hi Mani

It looks like you are trying to import a Symbian module on a Windows
CE platform.

I think "appuifw" is a PYS60 module (python wrapper for Symbian Series
60 devices)

You should look for another GUI for a Windows CE device.

I know Tkinter works but their are other efforts for CE.

regards
mark

On Tue, Dec 8, 2009 at 10:40 PM, mani kandan <majafriend at gmail.com> wrote:
> I am new to this forum and pythonCE please help me with this issue.I
> downloaded and installed pythonCE on my device and when i tried to run the
> program
>
> <code>
> import inbox, appuifw
>
> box = inbox.Inbox()
> query = appuifw.query(u"Search for:", "text").lower()
>
> hits = []
> ids = []
> for sms_id in box.sms_messages():
>       msg = box.content(sms_id).lower()
>       if msg.find(query) != -1:
>            hits.append(msg[:25])
>            ids.append(sms_id)
>
> index = appuifw.selection_list(hits, 1)
> if index >= 0:
>         appuifw.note(box.content(ids[index]))
> </code>
>
> it shows me Import error:No module named inbox.
>
> I not able to figure out how to include the particular file.
>
> --
> ALWAYS KEEP SMILING
>
> FOR U EVER,
>
>     G.MANIKANDAN
>
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce
>
>


More information about the PythonCE mailing list