[PythonCE] Import inbox error
mani kandan
majafriend at gmail.com
Thu Dec 10 05:53:00 CET 2009
On Thu, Dec 10, 2009 at 12:24 AM, Sini Mäkelä <sini.makela at 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 <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
>>
>
>
--
ALWAYS KEEP SMILING
FOR U EVER,
G.MANIKANDAN
--
ALWAYS KEEP SMILING
FOR U EVER,
G.MANIKANDAN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonce/attachments/20091210/e30d8624/attachment.htm>
More information about the PythonCE
mailing list