473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Easiest way to port Python program to PDA

I have been developing a Python program with two intercommunicating
(using sockets) parts, one of which runs on a desktop and the other on
a PDA.**For*ease*of*development,*I*developed*them*bo th*on*a*desktop.*
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA.**I*had*originally*planned*to*use*a*Sharp
Zaurus because it runs Linux (the OS of my desktop system) and I had
found a Python port that was supposed to be available for that platform
(Riverbank Computing).**Unfortunately,*Riverbank*Computing*ju st
discontinued their port.**They*refer*interested*parties*to*another*po rt
(http://www.vanille.de/projects/python.spy), but that site has no code
to download and does not respond to queries.**Accordingly,*I*have*to
conclude that there is no Python port available for the Zaurus so I am
back to square 1.

My question in short: does anyone have suggestions for the easiest way
to move the Python program to a PDA.**The*program*uses*a*few*modules
from the standard distribution (2.3): socket, thread, time, os, and
Tkinter.**I*expected*to*rewrite*the*GUI,*but*I*am* hoping*to*rewrite*the
rest of the program as little as possible.

I have discovered a python for StrongARM Pocket PCs.**There*is*also*a
python port for PalmOS, but that project appears to be dormant.**I*have
also discovered handhelds.org, which explains how to run linux on iPAQ,
but it isn't clear to me that it is possible to run python on the
resulting linux installation.**Does*anyone*have*comments*on*the*Pa lm*vs
Pocket PC choice?**How*difficult*will*it*be*to*program*the*G UI*on*the
PDA?**I*presume*that*I*am*going*to*have*to*do*that *using*a*language
other than python, so I wonder about integrating it with the python
code.**If*I*have*to*program*the*GUI*in*another*lan guage,*should*I*bite
the bullet and rewrite the entire program in that language?**The*program
is under 300 lines, it wouldn't be that big a deal.
--
Jeffrey Barish
Jul 18 '05 #1
5 2403

"Jeffrey Barish" <je********@starband.net> schrieb im Newsbeitrag
news:ma*************************************@pytho n.org...
I have been developing a Python program with two intercommunicating
(using sockets) parts, one of which runs on a desktop and the other on
a PDA. For ease of development, I developed them both on a desktop.
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA. I had originally planned to use a Sharp
Zaurus because it runs Linux (the OS of my desktop system) and I had
found a Python port that was supposed to be available for that platform
(Riverbank Computing). Unfortunately, Riverbank Computing just
discontinued their port. They refer interested parties to another port
(http://www.vanille.de/projects/python.spy), but that site has no code
to download and does not respond to queries. Accordingly, I have to
conclude that there is no Python port available for the Zaurus so I am
back to square 1.


Maybe openzaurus could be what you are searching

http://www.openzaurus.org/official/stable/feed/
Jul 18 '05 #2
And surely you find OpenEmbedded on the OpenZaurus site - with an actual
Metadata for Python
http://openembedded.bkbits.net:8080/packages/src/python?nav=index.html|src/.

(I just followed the links - can't give further explanations now)
Jul 18 '05 #3
Jeffrey Barish <je********@starband.net> said :
I have been developing a Python program with two intercommunicating
(using sockets) parts, one of which runs on a desktop and the other on
a PDA.**For*ease*of*development,*I*developed*them*bo th*on*a*desktop.*
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA.**I*had*originally*planned*to*use*a*Sharp
Zaurus because it runs Linux (the OS of my desktop system) and I had
found a Python port that was supposed to be available for that platform
(Riverbank Computing).**Unfortunately,*Riverbank*Computing*ju st
discontinued their port.
Damn, that's bad news ! Even worse, they were AFAIK the only ones
providing PyQT for the Zaurus, and that's gone too. I wonder what led
them to this (maybe someone left ?). It's very recent too, as I remember
checking their site not long ago.

Anyway, if you're interested, I do have their 2.3.3 package for the
Zaurus at home (and maybe PyQT), so just ask. It may be orphaned just now
but it works quite well (I chose my PDA specifically so that it runs
python too ;-).
**They*refer*interested*parties*to*another*port
(http://www.vanille.de/projects/python.spy), but that site has no code
to download and does not respond to queries.**
You didn't look close enough ;-)
Admittedly it's easy to miss, but the downloads are there all right :
under the "links" section at the bottom of the page there are two
"feeds" depending on you gcc (glibc) version, they lead to all the
relevant "ipk" files.

As for queries, the author is active as MickeyL on the Zaurus User Group
forums (http://www.zaurususergroup.com/), it may be easier to reach him
there.
Accordingly,*I*have*to
conclude that there is no Python port available for the Zaurus so I am
back to square 1.


Fortunately for us, that conclusion is wrong ;-)

--
YAFAP : http://www.multimania.com/fredp/
Jul 18 '05 #4
Wow, that is too bad, and I am surprised. I love my Zaurus and I run
Python scripts on it all the time using thier port.

I do have copies of 2.2.3-1.0 of therr main python port, and also a
copy of their python-webtools module (urllib, httplib, etc) and they
can be found at http://www.awaretek.com/pythonforzaurus.html

I think I may have other of their Python library module ports actually
on my Z, I'll check and if so I'll make them available on the same web
page.

Ron Stephens
Jul 18 '05 #5
Mentre io pensavo ad una intro simpatica "Jeffrey Barish" scriveva:
have discovered a python for StrongARM Pocket PCs.**There*is*also*a
python port for PalmOS, but that project appears to be dormant.**I*have
also discovered handhelds.org, which explains how to run linux on iPAQ,
but it isn't clear to me that it is possible to run python on the
resulting linux installation.


Hmmm I remember that on handelds.org there is the link to the "Familiar"
distro, it should come with python+pygtk.

--
Life in a vacuum sucks.

|\ | |HomePage : http://nem01.altervista.org
| \|emesis |XPN (my nr): http://xpn.altervista.org

Jul 18 '05 #6

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

Similar topics

12
by: Don Bruder | last post by:
A week or two ago, I asked here about porting Python to C. Got some good answers (Note 1) but now I've got another question. Actually, more a request for clarification of a topic that both the...
4
by: Pif Paf | last post by:
I am writing programs that will run as TCP servers. Briefly, I want to set up a TCP server on a port in such a way that if another server is already sitting on that port (both servers are Python...
0
by: Jeffrey Barish | last post by:
I have been developing a Python program with two intercommunicating (using sockets) parts, one of which runs on a desktop and the other on a PDA. For ease of development, I developed them both on...
2
by: willie | last post by:
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. ...
7
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be...
6
by: Novice Experl | last post by:
I'd like to write a simple application that interfaces with the parallel port, and changes the data on it according to keyboard input. I hope I can get it to run under windows xp and / or windows...
3
by: pcm | last post by:
Hi, Has anyone ever worked on a Python-WinCE-based program that involved serial port management ? Regards, Philippe
13
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I...
9
by: jim-on-linux | last post by:
This is the situation I'm in. I've built a single file utility using py2exe. I zip the dist directory and send it to the client. For clients that use win95, win98 machines, They unpack the...
0
by: mmcgee00 | last post by:
Hi, Currently, I am trying to get different service banner by connecting to different ports using python (code below). The versions I am working with are python 4.2.1 and fedora core 4. I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...

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.