Embedded Linux >> python

by Andrea Fino » Sun, 11 Apr 2004 17:13:24 GMT

What do you guys think about embbedding the python language in a small
appliance, is that feasible?

It needs about 20 MB on my debian system, what do you think should be
the flash/ram requirements for such an appliance?

--
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"

[Phone: +39 071 2070104]+[Fax: +39 071 2077919]+[iaxtel:17002876594]
[Web: http://www.faino.org]+[Email: XXXX@XXXXX.COM ]

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS: d- s: a+ C+++ UL++++ P++ L++++ E--- W++ N++ o? K w--- O M V
PS++ PE+ Y+ PGP t+ 5? X-- R* tv- b-- DI+++ D G++ e* h r y+
------END GEEK CODE BLOCK------


Embedded Linux >> python

by Dan Kegel » Mon, 12 Apr 2004 05:28:36 GMT





Oh, an extra 128MB RAM, maybe. Less if you have a swap device.

Have you ever noticed how much ram Python applets take up?
The little Red Hat Network icon takes up *64 MB* of RAM.
- Dan



Embedded Linux >> python

by Grant Edwards » Mon, 12 Apr 2004 10:18:21 GMT





That's mostly GUI libraries. Python has been embedded on
boards with no OS. Google comp.lang.python for "deeply
embedded python"

--
Grant Edwards grante Yow! I'm losing my
at hair...did it go to
visi.com ATLANTIC CITY??


python

by Andrea Fino » Mon, 12 Apr 2004 20:38:33 GMT





Thanks a lot,
Andrea

--
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"

[Phone: +39 071 2070104]+[Fax: +39 071 2077919]+[iaxtel:17002876594]
[Web: http://www.faino.org ]+[Email: XXXX@XXXXX.COM ]

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS: d- s: a+ C+++ UL++++ P++ L++++ E--- W++ N++ o? K w--- O M V
PS++ PE+ Y+ PGP t+ 5? X-- R* tv- b-- DI+++ D G++ e* h r y+
------END GEEK CODE BLOCK------


python

by Barry S » Sun, 08 Aug 2004 12:51:55 GMT





Nahh...I've used python on embedded stuff before and memory wasnt a huge
concern. Last project we used python 1.5 with a customized debian stable
install and total memory on the board was 64MB flash / 64MB RAM with
-- no swap of course.

Of that, I think python occupied about 6 MB, IIRC

There is (was) even a stackless-python floating around...it was designed
for CPU's with no MMU -- those would require even less memory.

Also you say it requires 20MB on your debian sys...I'm curious about
that...I would bet that if you type 'dpkg -l | grep python' much more
than just regular python is installed.

You may get much better results to download the source and compile your
own...only including the modules and site-packages that you need. You
could even package it up with something like checkinstall to make it a
nice .deb file for easy distribution / upkeep.

-Barry


Similar Threads

1. [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3

2. emacs python modes [was python/python output buffers]

sandro dentella a rit :
> Hi,
> 
>   I'm having a little problem while using python mode. I'm used to hit
> C-c C-c and have a Python Output buffer opened with the output. Now,
> on Ubuntu 7.10 and  8.04, C-c C-c sends to the Python buffer that is
> not raised in a window. I need to hit C-c C-z to see it.
> 
>   First of all I'm puzzled and would like to understand what makes the
> difference. I guess is some defaults that changed in the system
> configuration.
> 
>   What makes the difference between the two behaviors?

This has been the subject of a recent thread here. Emacs now ships with 
a different python mode named python.el. You'll have to manually 
(re)install the original python-mode.el.

HTH

3. Searching comp.lang.python/python-list@python.org (was: UTF-8)

4. python-ldap and Python 2.5 (was: Python 2.5 Core Dump on Solaris 8)

5. The C language like the Python, by the Python and for the Python --- PythoidC

6. You python-list@python.org are not member (linux-sh ML)

You are not a member of this mailing list < XXXX@XXXXX.COM >.

If you know the general guide of this list, please send mail with
the mail body 

	guide

to the address

	 XXXX@XXXXX.COM 

where guide is equal to GUIDE for case insensitive.


7. Python Tkinter Linux Repair Question/ Python TCP Socket Example

8. [News] Python on a Plane, Ruby on Rails, Java and Python