Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
python
- 04-11-2004
- Andrea Fino
April 11, 2004, 9:13 am

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?
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"
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"
We've slightly trimmed the long signature. Click to see the full one.

Re: python

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
Site Timeline
- » ICOP, PC104 embedded Ethernet, Lan
- — Next thread in » Embedded Linux
-
- » [Q]insmod and User mode address memory allocation?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » GM Bolt battery problem
- — The site's Newest Thread. Posted in » Electronics Design
-
- » soldermaska zastÄ™pcza
- — The site's Last Updated Thread. Posted in » Electronics (Polish)
-