[PythonCE] graphical libs for pocket pc

Michael Foord 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
that
>    >are specific to the PocketPC, e.g. raw_input doesn't work which makes
>    >interaction with the user virtually impossible unless you use Tkinter
or
>    >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
version.
>
> 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
http://www.validus.com/~kashtan
>  ) and at the pcceshell files.
>
> All the best,
> Isr
>

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.

Regards,

Fuzzy

http://www.voidspace.otg.uk/atlantibots/pythonutils.html

>    >Regards,
>    >
>    >Fuzzy
>    >
>    >http://www.voidspace.org.uk/atlantibots/pythonutils.html
>    >
>    >
>    >
>    >>Has anyone written PocketPC apps w/ python? Any screenshots?
>    >>
>    >>Thanks,
>    >>_______________________________________________
>    >>PythonCE mailing list
>    >>PythonCE at python.org
>    >>http://mail.python.org/mailman/listinfo/pythonce
>    >>
>    >>
>    >>
>    >>
>    >>
>    >
>    >--
>    >
>    >http://www.Voidspace.org.uk
>    >The Place where headspace meets cyberspace. Online resource site -
covering science, technology, computing, cyberpunk, psychology,
spirituality, fiction and more.
>    >
>    >---
>    >http://www.Voidspace.org.uk/atlantibots/pythonutils.html
>    >Python utilities, modules and apps.
>    >Including Nanagram, Dirwatcher and more.
>    >---
>    >http://www.fuchsiashockz.co.uk
>    >http://groups.yahoo.com/group/void-shockz
>    >---
>    >
>    >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
>    >http://mail.python.org/mailman/listinfo/pythonce
>
>
>



More information about the PythonCE mailing list