Hi Mani,
I am not sure if this would help, but the ctypes or the comtypes library for pythonce on windows ce PDAs might help you out. It allows you to access dll libraries. If you are trying to access email on the wince device check out: http://pythonce.sourceforge.net/Wikka/PIMs which shows you how to use a module called pypoom to access mail resources. Regards, Martin From: pythonce-bounces+martinechols=verizon....@python.org [mailto:pythonce-bounces+martinechols=verizon....@python.org] On Behalf Of mani kandan Sent: Wednesday, December 09, 2009 11:53 PM To: PythonCE@python.org Subject: [PythonCE] Import inbox error On Thu, Dec 10, 2009 at 12:24 AM, Sini Mäkelä <sini.mak...@gmail.com> wrote: Hi, >>"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. yeah Sini this is a sad truth for me.But can you please suggest me any other extension of pythonCE that can be used to access the sms inbox. On Wed, Dec 9, 2009 at 6:45 AM, Mark Doukidis <mdouki...@gmail.com <mailto:mdouki...@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 <majafri...@gmail.com <mailto:majafri...@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@python.org <mailto:PythonCE@python.org> > http://mail.python.org/mailman/listinfo/pythonce > > -- ALWAYS KEEP SMILING FOR U EVER, G.MANIKANDAN ------------------------------------------------------------------------ _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce -- ALWAYS KEEP SMILING FOR U EVER, G.MANIKANDAN -- ALWAYS KEEP SMILING FOR U EVER, G.MANIKANDAN
_______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce