Google Groups Home
Help | Sign in
ANN: Python 2.3.2 for PalmOS available
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lucio.torre@gmail.com  
View profile  
 More options Apr 15 2005, 7:40 pm
Newsgroups: comp.lang.python
From: "lucio.to...@gmail.com" <lucio.to...@gmail.com>
Date: 15 Apr 2005 16:40:05 -0700
Local: Fri, Apr 15 2005 7:40 pm
Subject: ANN: Python 2.3.2 for PalmOS available
Hello,

Some months ago i did a port of the Python2.3.2 interpreter to PalmOS.
I didnt port any C module or created modules for PalmOS API's. But you
can run an interpreter and use stdin/stdout from a form.

There is also a tool to freeze scripts and use the interpreter as a
pseudo-shared library.

While talking with Facundo while in a PyAr meeting (python-argentina,
http://www.python.org/ar ) he told me that there is some interest in
this platform.

So, ive made an initial release that has no documentation on how to use
it or compile it (it requires codewarrior). If there is any interest on
this, please let me know so we can work on getting this as a real port.

As usual, this is just a proof of concept and is ugly in many ways.
(ie, in Palm, code segments must be less than 64K, so some files had to
be split and rearranged  ).

If anyone want to check this out, heres the url:
http://pyar.decode.com.ar/Members/ltorre/PythonPalm

Regards,

Lucio.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Max Francis  
View profile  
 More options Apr 15 2005, 7:49 pm
Newsgroups: comp.lang.python
From: Erik Max Francis <m...@alcyone.com>
Date: Fri, 15 Apr 2005 16:49:53 -0700
Local: Fri, Apr 15 2005 7:49 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available

lucio.to...@gmail.com wrote:
> If anyone want to check this out, heres the url:
> http://pyar.decode.com.ar/Members/ltorre/PythonPalm

Note the links are swapped; the one that says source package points to
the .prc file, and the one that says .prc file goes to the source package.

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   There never was a good war or a bad peace.
   -- Benjamin Franklin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lucio.torre@gmail.com  
View profile  
 More options Apr 15 2005, 7:56 pm
Newsgroups: comp.lang.python
From: "lucio.to...@gmail.com" <lucio.to...@gmail.com>
Date: 15 Apr 2005 16:56:35 -0700
Local: Fri, Apr 15 2005 7:56 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available
Fixed. Thanks.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wolfgang Keller  
View profile  
 More options Apr 16 2005, 2:38 am
Newsgroups: comp.lang.python
From: Wolfgang Keller <wolfgang.keller.nos...@gmx.de>
Date: Sat, 16 Apr 2005 08:38:09 +0200
Local: Sat, Apr 16 2005 2:38 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

> If there is any interest on this, please let me know so we can work on
> getting this as a real port.

"Interest" is just a "slight" understatement... :-)

Best regards

Wolfgang Keller

--
P.S.: My From-address is correct


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Klaus Alexander Seistrup  
View profile  
 More options Apr 16 2005, 9:06 am
Newsgroups: comp.lang.python
From: Klaus Alexander Seistrup <dh47...@yahoo.com>
Date: Sat, 16 Apr 2005 13:06:07 +0000 (UTC)
Local: Sat, Apr 16 2005 9:06 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

lucio.to...@gmail.com wrote:
> Some months ago i did a port of the Python2.3.2 interpreter to
> PalmOS.

Wow, this is just what I've been waiting for.  Meanwhile I've tried
to make do with Rexx for PalmOS, hehehe...

However, MLPY doesn't seem to work on my Tungsten T3 (PalmOS 5.2.1).
The .prc installs without any problems, and I can start the Python
interpreter, but nothing happens if I ring in a Python expression and
press return -- the prompt just "hangs" and never returns.

Any ideas?

--
Klaus Alexander Seistrup
Magnetic Ink, Copenhagen, Denmark
http://magnetic-ink.dk/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Hansen  
View profile  
 More options Apr 16 2005, 9:15 am
Newsgroups: comp.lang.python
From: Peter Hansen <pe...@engcorp.com>
Date: Sat, 16 Apr 2005 09:15:59 -0400
Local: Sat, Apr 16 2005 9:15 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

Klaus Alexander Seistrup wrote:
> lucio.to...@gmail.com wrote:
>>Some months ago i did a port of the Python2.3.2 interpreter to
>>PalmOS.

> Wow, this is just what I've been waiting for.  Meanwhile I've tried
> to make do with Rexx for PalmOS, hehehe...

I've been making do (rather successfully so far) with
Plua 2 (basically Lua 5.0), which I think feels a
little closer to Python than does Rexx (but which
doesn't come, out of the box, with quite as much
power).

The main benefit is that it *does* support the Palm
OS stuff, mainly making a UI form, an event loop,
and interfacing with databases.

It would be wonderful if Python was equally well
supported (yes, I know, somebody has to do the work)
but I also suspect there's no hope of it running on
my old 2MB Palm V the way Plua currently does! :-)
Well, it would finally be a reason to upgrade though...

-Peter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bryce.mo...@gmail.com  
View profile  
 More options Apr 16 2005, 4:20 pm
Newsgroups: comp.lang.python
From: bryce.mo...@gmail.com
Date: 16 Apr 2005 13:20:46 -0700
Local: Sat, Apr 16 2005 4:20 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available
Lucio,

Just tried to install it on my sony clie PEG-S360.  When I try to run
it I get:
Fatal Alert
pythonrun.c, Line: 1483,
Py_Initialize: can't init ints

Aside from my clie being significantly under-powered, I don't know what
else could be wrong.

What version of the Palm OS does this support?

Good luck with this.  I could use a more up-to-date python than Pippy
(http://pippy.sourceforge.net/) offers.

I didn't know where else to post / email this.

bryce


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Max Francis  
View profile  
 More options Apr 16 2005, 4:26 pm
Newsgroups: comp.lang.python
From: Erik Max Francis <m...@alcyone.com>
Date: Sat, 16 Apr 2005 13:26:21 -0700
Local: Sat, Apr 16 2005 4:26 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available

Klaus Alexander Seistrup wrote:
> However, MLPY doesn't seem to work on my Tungsten T3 (PalmOS 5.2.1).
> The .prc installs without any problems, and I can start the Python
> interpreter, but nothing happens if I ring in a Python expression and
> press return -- the prompt just "hangs" and never returns.

It worked on my Treo 650, although you quickly ran out of space in the
input text area (if you typed too many characters it would beep and
prevent you from typing anymore).

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   It comes from inside, and that's what I consider to be soul music.
   -- Sade Adu


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hoffman  
View profile  
 More options Apr 17 2005, 3:45 am
Newsgroups: comp.lang.python
From: Michael Hoffman <cam.ac...@mh391.invalid>
Date: Sun, 17 Apr 2005 08:45:12 +0100
Local: Sun, Apr 17 2005 3:45 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

lucio.to...@gmail.com wrote:
> Some months ago i did a port of the Python2.3.2 interpreter to PalmOS.
> I didnt port any C module or created modules for PalmOS API's.

Just port ctypes. Then we'll be good to go. <wink>

Seriously, this looks like a cool beginning.
--
Michael Hoffman


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lucio Torre  
View profile  
 More options Apr 18 2005, 9:18 am
Newsgroups: comp.lang.python
From: "Lucio Torre" <lucio.to...@gmail.com>
Date: 18 Apr 2005 06:18:06 -0700
Local: Mon, Apr 18 2005 9:18 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available
Make sure you write the expression in the lower text-area, and then
press the send button. This should do it.

I did the port something like a year ago (when i didnt knew metroweks
for Palm was discontinued) and when i tried it last week i couldnt
figure out how to use it. Then i realized that i must use the lower
text-area. Its was not designed for ease of use :)

Lucio.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lucio Torre  
View profile  
 More options Apr 18 2005, 9:22 am
Newsgroups: comp.lang.python
From: "Lucio Torre" <lucio.to...@gmail.com>
Date: 18 Apr 2005 06:22:13 -0700
Local: Mon, Apr 18 2005 9:22 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available
Most likely you run out of stack. The amount of memory this beast
required for initialization was too much for most old Palms.

Ive tried it on PalmOS simulator mainly, and on some version of OS5
hardware.

Lucio.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
beliav...@aol.com  
View profile  
 More options Apr 18 2005, 9:59 am
Newsgroups: comp.lang.python
From: beliav...@aol.com
Date: 18 Apr 2005 06:59:07 -0700
Local: Mon, Apr 18 2005 9:59 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available
What are the potential applications of Python on PalmOS? Just curious.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Hansen  
View profile  
 More options Apr 18 2005, 10:23 am
Newsgroups: comp.lang.python
From: Peter Hansen <pe...@engcorp.com>
Date: Mon, 18 Apr 2005 10:23:30 -0400
Local: Mon, Apr 18 2005 10:23 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

beliav...@aol.com wrote:
> What are the potential applications of Python on PalmOS? Just curious.

Python is a general purpose programming language,
as you know.  Doesn't that suggest that the
set of potential applications is pretty much all
those which don't require the raw performance of
C or perhaps some highly specialized feature
available only in another language (if such a
thing even exists)?

Calendar tools, time tracking tools, games,
various kinds of network clients (for the latest
Palms), etc.  I've just written a very specialized
time tracking tool in Plua, which could easily have
been done using Python if it had access to the
UI elements and the file system as Plua does.

Given that you already know what Python is all about,
your question sounds to me like that of someone who
doesn't even know what a Palm is good for... which
I doubt you are, so I find the question rather puzzling.

-Peter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fraca7  
View profile  
 More options Apr 18 2005, 2:35 pm
Newsgroups: comp.lang.python
From: Fraca7 <fra...@free.fr>
Date: Mon, 18 Apr 2005 20:35:12 +0200
Local: Mon, Apr 18 2005 2:35 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available

On Fri, 15 Apr 2005 16:40:05 -0700, lucio.to...@gmail.com wrote:
> Hello,
> While talking with Facundo while in a PyAr meeting (python-argentina,
> http://www.python.org/ar ) he told me that there is some interest in
> this platform.

You bet there is. i almost bought a Pocket PC instead of my Clié TH55
because I thought Python would be available sooner on it...

> So, ive made an initial release that has no documentation on how to use
> it or compile it (it requires codewarrior). If there is any interest on
> this, please let me know so we can work on getting this as a real port.

I'm a beginner at PalmOS programming (actually, I've read a book about it,
and that's it) but I'd be glad to help...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Klaus Alexander Seistrup  
View profile  
 More options Apr 19 2005, 3:31 am
Newsgroups: comp.lang.python
From: Klaus Alexander Seistrup <dh47...@yahoo.com>
Date: Tue, 19 Apr 2005 07:31:19 +0000 (UTC)
Local: Tues, Apr 19 2005 3:31 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

Lucio Torre wrote:
> Make sure you write the expression in the lower text-area, and
> then press the send button. This should do it.

Ah, that's the trick!  It wasn't obvious that there were two text areas,
and I intuitively wrote commands at the python prompt.  Problem solved.

Say, are floats implemented?  Comparisons seem to work, but print'ing
doesn't:

#v+

>>> 1.0 > 0.5
True
>>> print 1.23
%.*g

#v-

--
Klaus Alexander Seistrup
Magnetic Ink, Copenhagen, Denmark
http://magnetic-ink.dk/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lucio Torre  
View profile  
 More options Apr 19 2005, 10:56 am
Newsgroups: comp.lang.python
From: "Lucio Torre" <lucio.to...@gmail.com>
Date: 19 Apr 2005 07:56:51 -0700
Local: Tues, Apr 19 2005 10:56 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

Klaus Alexander Seistrup wrote:
> Lucio Torre wrote:

> Say, are floats implemented?  Comparisons seem to work, but print'ing
> doesn't:

> #v+

> >>> 1.0 > 0.5
> True
> >>> print 1.23
> %.*g

I think thats a problem with the printf implementation. Im using one
that came with codewarrior and maybe it doesnt parse %.*g .. (never
seen that format before)..

Lucio.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lucio Torre  
View profile  
 More options Apr 19 2005, 11:03 am
Newsgroups: comp.lang.python
From: "Lucio Torre" <lucio.to...@gmail.com>
Date: 19 Apr 2005 08:03:15 -0700
Local: Tues, Apr 19 2005 11:03 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

Fraca7 wrote:
> On Fri, 15 Apr 2005 16:40:05 -0700, lucio.to...@gmail.com wrote:

> > So, ive made an initial release that has no documentation on how to
use
> > it or compile it (it requires codewarrior). If there is any
interest on
> > this, please let me know so we can work on getting this as a real
port.

> I'm a beginner at PalmOS programming (actually, I've read a book
about it,
> and that's it) but I'd be glad to help...

Do you have any experience on PODS? The whole thing is based on
Codewarrior and Codewarrior for palm is dead.

Lucio.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RM  
View profile  
 More options Apr 19 2005, 11:39 am
Newsgroups: comp.lang.python
From: "RM" <ny_r_marq...@yahoo.com>
Date: 19 Apr 2005 08:39:29 -0700
Local: Tues, Apr 19 2005 11:39 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available
I get odd results when trying to use exponents.  For example:

>>>4^2

6

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barron Snyder (MW MWC)  
View profile  
 More options Apr 19 2005, 11:52 am
Newsgroups: comp.lang.python
From: "Barron Snyder (MW MWC)" <Barron.Sny...@wholefoods.com>
Date: Tue, 19 Apr 2005 10:52:47 -0500
Local: Tues, Apr 19 2005 11:52 am
Subject: RE: ANN: Python 2.3.2 for PalmOS available

Isn't ** used for exponents?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RM  
View profile  
 More options Apr 19 2005, 12:01 pm
Newsgroups: comp.lang.python
From: "RM" <ny_r_marq...@yahoo.com>
Date: 19 Apr 2005 09:01:21 -0700
Local: Tues, Apr 19 2005 12:01 pm
Subject: Re: ANN: Python 2.3.2 for PalmOS available
Oops.  Sorry, you are right. :)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Max Francis  
View profile  
 More options Apr 20 2005, 12:29 am
Newsgroups: comp.lang.python
From: Erik Max Francis <m...@alcyone.com>
Date: Tue, 19 Apr 2005 21:29:25 -0700
Local: Wed, Apr 20 2005 12:29 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

RM wrote:
> I get odd results when trying to use exponents.  For example:

>>>>4^2
> 6

Someone else already pointed out that ** is exponentiation.  ^, on the
other hand, bitwise exclusive or.

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   One sword keeps the other in the sheath.
   -- George Herbert


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fraca7  
View profile  
 More options Apr 21 2005, 6:11 am
Newsgroups: comp.lang.python
From: Fraca7 <fra...@free.fr>
Date: Thu, 21 Apr 2005 12:11:16 +0200
Local: Thurs, Apr 21 2005 6:11 am
Subject: Re: ANN: Python 2.3.2 for PalmOS available

On Tue, 19 Apr 2005 08:03:15 -0700, Lucio Torre wrote:
> Do you have any experience on PODS? The whole thing is based on
> Codewarrior and Codewarrior for palm is dead.

Nope. Actually, I'm kind of reluctant to use IDEs and it seems PODS is
targeted towards Eclipse users; I'd rather use prc-tools since I'm used to
the GNU development tools.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google