Re: picogui demo applications?

Lalo Martins <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
On Tue, Jan 21, 2003 at 02:02:40PM +0100, Daniele Pizzoni wrote:
> 
> Thanks for the info, I just missed to check the latest CVS. Anyway I
> think python will just not fit into the few megabytes we have.

That depends on how much is your "few".  I run python and picogui in my PDA
with a 10Mb flashdisk.  My project could be summarized as "a PDA environment
that allows me to write programs in the pda itself", and this is why I wrote
the picogui python client library for.

My python binary (for the pda) has 1.9Mb; you can make it smaller by not
compiling the optionals.  (My pda platform does't support dlopen, so I had
to build a lot of things built-in; a typical desktop python binary is below
800k.)  The only compiled module you *really* need for pgui is _socket (and
_expat if you want to work with xml, but as Micah, I advise against it).

The (full) library is at 5.4M here; I include only the optimized bytecode
files (*.pyo).  By selecting just the stuff you need, which requires about
one day of experimenting, you can bring this below 500k.

That depends on what you want to demonstrate; IMO showing a very readable
script, modifying it in-place with pgedit, and then running it, is
absolutely impressing ;-)

[]s,
                                               |alo
                                               +----
--
            Those who trade freedom for security
               lose both and deserve neither.
--
http://www.laranja.org/                mailto:[email protected]
         pgp key: http://www.laranja.org/pessoal/pgp

Eu jogo RPG! (I play RPG)         http://www.eujogorpg.com.br/
GNU: never give up freedom                 http://www.gnu.org/


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.