[PythonCE] Import inbox error

Sini Mäkelä sini.makela at gmail.com
Wed Dec 9 19:54:25 CET 2009


Hi,

> As you said "appuifw" is a PYS60 module so i cant include those in my 
> windows CE.But "appuifw" is not my major concern.I need that "inbox" 
> header file.Can u please guide me where can i download that.

"inbox" is also a Python extension for S60, so you cannot use it with 
PythonCE just like that.

Sorry, this is probably not the answer you were looking for, but the sad 
truth.

- Sini

> On Wed, Dec 9, 2009 at 6:45 AM, Mark Doukidis <mdoukidis at gmail.com 
> <mailto:mdoukidis at gmail.com>> wrote:
> 
>     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
>     <mailto: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 <mailto:PythonCE at python.org>
>      > http://mail.python.org/mailman/listinfo/pythonce
>      >
>      >
> 
> 
> 
> 
> -- 
> 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