473,770 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Easiest way to port Python program to PDA

I have been developing a Python program with two intercommunicat ing
(using sockets) parts, one of which runs on a desktop and the other on
a PDA.**For*ease* of*development, *I*developed*th em*both*on*a*de sktop.*
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA.**I*had*ori ginally*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).**Un fortunately,*Ri verbank*Computi ng*just
discontinued their port.**They*ref er*interested*p arties*to*anoth er*port
(http://www.vanille.de/projects/python.spy), but that site has no code
to download and does not respond to queries.**Accor dingly,*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*progr am*uses*a*few*m odules
from the standard distribution (2.3): socket, thread, time, os, and
Tkinter.**I*exp ected*to*rewrit e*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*hav e
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*hav e*comments*on*t he*Palm*vs
Pocket PC choice?**How*di fficult*will*it *be*to*program* the*GUI*on*the
PDA?**I*presume *that*I*am*goin g*to*have*to*do *that*using*a*l anguage
other than python, so I wonder about integrating it with the python
code.**If*I*hav e*to*program*th e*GUI*in*anothe r*language,*sho uld*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 2418

"Jeffrey Barish" <je********@sta rband.net> schrieb im Newsbeitrag
news:ma******** *************** **************@ python.org...
I have been developing a Python program with two intercommunicat ing
(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.bk bits.net:8080/packages/src/python?nav=inde x.html|src/.

(I just followed the links - can't give further explanations now)
Jul 18 '05 #3
Jeffrey Barish <je********@sta rband.net> said :
I have been developing a Python program with two intercommunicat ing
(using sockets) parts, one of which runs on a desktop and the other on
a PDA.**For*ease* of*development, *I*developed*th em*both*on*a*de sktop.*
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA.**I*had*ori ginally*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).**Un fortunately,*Ri verbank*Computi ng*just
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*i nterested*parti es*to*another*p ort
(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*hav e
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
2851
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 Python tutorial and docs leave a touch murky to my understanding. Dictionaries/"dict" types... Am I understanding/interpreting correctly when I go with the idea that a "dict" variable can be looked at as (effectively) two parallel arrays?...
4
3488
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 programs I will be writing), the old one is booted off (and its process ended). My master process is a test harness, which tests a script which as part of its functionality sends http GET messages. My test harness sets up an http server as a...
0
1663
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 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...
2
13195
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. However, I'm unsure of how exactly I should be designing the program, I thought I could use threading to start class: class scanner(Thread): def __init__(self,port):
7
2689
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 updated every hour or so. How can I do this easily? I would like to use secure communication even encryption if possible. I would query and insert locally only the newest records found in that XML file to an xml or MS access db.
6
7245
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 2000. How can I do this? What do I need to know? It doesn't look like the standard library (the one under my pillow) has that feature. In addition, I've heard that with newer versions of windows don't let you communicate with the port directly,...
3
2737
by: pcm | last post by:
Hi, Has anyone ever worked on a Python-WinCE-based program that involved serial port management ? Regards, Philippe
13
6210
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 am sending a short message to a group of embedded boxes daisy chained via the serial port. When I send a 'global' message, all the connected units should reply with their Id and Ack in this format '0 Ack' To be certain that I didn't miss a...
9
1454
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 zip file and run the exe. The utility creates a text file that is sent to the printer with the statement below.
0
1434
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 trying to reproduce a very small piece of nmap, since nmap has to get a port's banner in order to figure out the version. However, I haven't been entirely successful. *******************************************************
1
10008
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9873
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8891
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
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
2
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.