[PythonCE] graphical libs for pocket pc
mike at pcblokes.com
Thu Sep 9 12:30:54 CEST 2004
----- Original Message -----
From: "Isr Gish" <isrgish at fastem.com>
To: <mike at pcblokes.com>; <jaderholm at gmail.com>
Cc: <pythonce at python.org>
Sent: Thursday, September 09, 2004 12:19 AM
Subject: Re: [PythonCE] graphical libs for pocket pc
> >From: "Voidspace"<mike at pcblokes.com>
> >Sent: 9/8/04 5:20:07 AM
> >To: "Scott Jaderholm"<jaderholm at gmail.com>
> >Cc: "pythonce at python.org"<pythonce at python.org>
> >Subject: Re: [PythonCE] graphical libs for pocket pc
> >There are a
> >*few* differences due to differences in the underlying C libraries
> >are specific to the PocketPC, e.g. raw_input doesn't work which makes
> >interaction with the user virtually impossible unless you use Tkinter
> >something 'similar'.
> I think it should be possible to do a patch for that. What seems to be
needed is a "readline" function for the shell. With that function the input
functions should work fine.
> In previous versions there was such a readline function in the
pcceshell.py module. But it seems to have been removed in the latest
> I think it should be possible to implement it again. What was actually
used, was the readline with another function that was automatically called
(I guess by windows) for each character that was typed into the shell. I
think this function was called "onEditChr" or something like that.
> If someone is interested you can find these functions in the pcceshell.py,
or in the newer pcceshell package in the simpleshell.py module.
> I attach the pcceshell in a zip file, for anyone who is interested to look
at it. I hope the list will let it through.
> I would love to do this myself, but I have zero experience and almost the
same amount of knowledge in this area. What I do know is *only* from looking
a the source code for version 2.3.4 (found at
> ) and at the pcceshell files.
> All the best,
The problem that David kashtan identified was that the previous versions of
pcceshell that allowed raw_input relied on C code (by Telion I think) that
has since been lost. So just using the modified versions of pcceshell isn't
sufficient and David doesn't feel up to reimplementing the missing C.
> >>Has anyone written PocketPC apps w/ python? Any screenshots?
> >>PythonCE mailing list
> >>PythonCE at python.org
> >The Place where headspace meets cyberspace. Online resource site -
covering science, technology, computing, cyberpunk, psychology,
spirituality, fiction and more.
> >Python utilities, modules and apps.
> >Including Nanagram, Dirwatcher and more.
> >Everyone has talent. What is rare is the courage to follow talent
> > to the dark place where it leads. -Erica Jong
> >Ambition is a poor excuse for not having sense enough to be lazy.
> > -Milan Kundera
> >PythonCE mailing list
> >PythonCE at python.org
More information about the PythonCE