473,569 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedded Systems Python?

Hi all,

I've looked through the threads about embedded Python that are a year
and a half old, and I thought that I'd ask this question now to see if
anything has changed.

Has anyone, or is anyone working with Python in an embedded Linux
environment? Mine is NO where near as constrained as a cell phone since
I've got plenty of memory to work with, I'm just running a Linux 2.4 kernel
on an ARM9 platform.

Are there success stories for Python on embedded Linux systems today?
The embedded Java JVM's seem to all be propriatary and have quite high
license fees (don't mention Kaffe, it seems pretty fragile to me.)

I'm a bit of a newb when it comes to Python, is there anyone with experience
compiling it on Linux platforms that can offer me pointers to try this out
myself?

thanks,
DLC
--
=============== =============== =============== =============== =============== =
* Dennis Clark dl*@frii.com www.techtoystoday.com *
* "Programmin g and Customizing the OOPic Microcontroller " Mcgraw-Hill 2003 *
=============== =============== =============== =============== =============== =
Jul 19 '05 #1
4 3032
I developed for my former employee a thin client whose primary purpose
was AS400 connectivity. This required a fairly complex interactive
gui configuration which I wrote in Python.
This system could also be configed by a remote manager. Wrote
that also in python using UDP sockets.
The hardware was 64Mb memory and 64Mb compact flash.

OS wa 2.4.20 linux from Debian

I did a lot of cleanup removing unneeded modules but
other than that, standard Python 2.3.4
worked great.

Dennis Clark wrote:
Hi all,

I've looked through the threads about embedded Python that are a year
and a half old, and I thought that I'd ask this question now to see if
anything has changed.

Has anyone, or is anyone working with Python in an embedded Linux
environment? Mine is NO where near as constrained as a cell phone since
I've got plenty of memory to work with, I'm just running a Linux 2.4 kernel
on an ARM9 platform.

Are there success stories for Python on embedded Linux systems today?
The embedded Java JVM's seem to all be propriatary and have quite high
license fees (don't mention Kaffe, it seems pretty fragile to me.)

I'm a bit of a newb when it comes to Python, is there anyone with experience
compiling it on Linux platforms that can offer me pointers to try this out
myself?

thanks,
DLC


Jul 19 '05 #2
Dennis Clark wrote:
....
Has anyone, or is anyone working with Python in an embedded Linux
environment? Mine is NO where near as constrained as a cell phone since
I've got plenty of memory to work with, I'm just running a Linux 2.4
kernel on an ARM9 platform.


This really shouldn't be a problem - especially given python can be made
to run on mobile phones (Nokia Series 60). We've found using python on
Series 60 phones to be quite useful, so if you're using a linux box, you're
presumably got more memory/CPU available than there, so I doubt you'll
see major problems.

Regards,
Michael.
--
http://kamaelia.sourceforge.net/

Jul 19 '05 #3
Dennis Clark wrote:
I'm a bit of a newb when it comes to Python, is there anyone with experience
compiling it on Linux platforms that can offer me pointers to try this out
myself?


Seatch for cross-compiling python patches. I'm working on an XScale255
platform with python2.2 and soon 2.3 - no trouble there.

Diez
Jul 19 '05 #4
Guys,

Thanks, that was all information that I wanted to hear. I have a
Cirrus Logic Linux port for the ARM9. I've no idea what the code
base is, I've not figured that out yet. I should just need to re-
compile on the platform.

thanks,
DLC
--
=============== =============== =============== =============== =============== =
* Dennis Clark dl*@frii.com www.techtoystoday.com *
* "Programmin g and Customizing the OOPic Microcontroller " Mcgraw-Hill 2003 *
=============== =============== =============== =============== =============== =
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3075
by: Brandon | last post by:
Java seems to have taken off as the platform and language of choice for many embedded devices. Would it be feasible for Python(perhaps running on an embedded version of Linux) to act in such a capacity. Most of my experience with Python has been with Unix-type scripting tasks and using it when it is an applications built in scripting, but I...
13
2782
by: Alexander May | last post by:
Hi, I love Python! I've been using it for a couple of years now and have found it to be a highly productive language. I evangelize it to my developer friends and am probably responsible for the sale of at least 10 Alex Martelli books. I am now in the fortunate position of being able to use Python for a large project, and as such I have a...
5
3210
by: wahn | last post by:
Hi, Here is a problem I came across and need some help with. I developed a little Python script with some classes which runs standalone and communicates with a database via sockets. So far everything works fine. I also successfully embedded the Python interpreter into a plugin for a commercial 3D package (in this case Houdini -...
3
3052
by: Godzilla | last post by:
Has anyone install Python on Windows XP Embedded? We wish to evaluate the possible solution of installing Python with WinXPE on a PC/104 plus module. Thank you.
8
2417
by: Brennus | last post by:
I have a dll/so which embeds python. I can verify it works by compiling it as an executable and adding an appropriate main. I tried to write unit tests for this library with ctypes and a simple python script. Access violations and other strange things result. I suspect this is because I am basically embedding python in python at this point....
20
22486
by: Jack | last post by:
Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of running it on the Linksys's Linux-based open source router WRT54G. It has 4MB flash and 16MB RAM. I think another model...
2
1603
by: Carl J. Van Arsdall | last post by:
I'm aware of a couple python projects for embedded systems. I am currently considering using Python on an embedded platform to develop a simple application as a personal project, mostly to see if it will work. I was wondering if anyone here was using python for anything of that nature? For those that are involved in these types of projects,...
5
3335
by: vishnu | last post by:
Hi there, I am embedding python 2.5 on embedded system running on RTOS where I had strict memory constraints. As python is a huge malloc intensive application, I observed huge memory fragmentation in my system which is leading to out of memory after running few scripts. So I decided to re-initialise the python with out restarting the whole...
30
4265
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
Let's say we had a simple function for returning the amount of days in a month: unsigned DaysInMonth(unsigned const month) { switch (month) { case 8: case 3: case 5:
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6277
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.