[PythonCE] Import inbox error

mani kandan majafriend at gmail.com
Tue Dec 8 15:40:33 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonce/attachments/20091208/71baa666/attachment.htm>


More information about the PythonCE mailing list