pippy-discuss Mailing List for Pippy: Python for PalmOS
Brought to you by:
tokeneater
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(10) |
Dec
(1) |
|
From: Posadas, D. <den...@in...> - 2003-12-08 03:44:34
|
Since pippy doesn't yet have a convenient way to input text, would it be possible to import pocket c routines, so we can use the pocket c routines w pippy ? Dennis |
|
From: Jason P. <jp...@de...> - 2003-11-20 20:44:34
|
On Tue, Nov 18, 2003 at 09:24:23PM -0800, Bill Pitre wrote: > I tried your versions of pippy for the "Load" button which worked, but had > one problem. "import string" within my programs don't work. Hmm, doubtful that is related to my Load patch. Most likely its just a mistake in my build. That binary has some other experimental changes worked in-- probably something broken there. When I get a chance I'll put up a less broken build. > Also, I'm not sure what the procedure is for running the programs once they > are loaded. Can you give some guidance? Once they are loaded, they should execute in the current namespace. So if you define a function foo(), you can call it as foo(). You don't need to prefix the module's namespace. Jason |
|
From: Posadas, D. <den...@in...> - 2003-11-20 06:40:30
|
Any chance I can compile python programs for Palm on a PC ? Dennis |
|
From: Bill P. <bj....@te...> - 2003-11-19 04:46:04
|
> On Fri, Nov 14, 2003 at 05:36:51PM -0800, Bill Pitre wrote: >> Fabulous! The screen shots look great. Did you build in the memoimp >> under your "Load" button? > > No, it doesn't use memoimp, but directly loads the files from the memo > db. > >> Have you changed anything else from the original Pippy? > > I've also added a module "palmwin" for some of the PalmOS window > drawing primitives. Here are two demos: > > http://www.demonseed.net/~jp/pippy/sirpinski.png > http://www.demonseed.net/~jp/pippy/pinwheel.png > > If you want to try this out, I have builds at > http://www.demonseed.net/~jp/pippy/pippy.prc.gz > http://www.demonseed.net/~jp/pippy/pylib.prc.gz > > Next I want to add a handler for raw_input(), so it is easy to do basic > user interaction. Having trouble figuring out where to put the forms > in the code though... I don't want to mess up the separation between > pylib and pippy. > > Jason > I tried your versions of pippy for the "Load" button which worked, but had one problem. "import string" within my programs don't work. Also, I'm not sure what the procedure is for running the programs once they are loaded. Can you give some guidance? Thanks -- Bill |
|
From: <jp...@de...> - 2003-11-17 16:16:54
|
On Fri, Nov 14, 2003 at 05:36:51PM -0800, Bill Pitre wrote: > Fabulous! The screen shots look great. Did you build in the memoimp under > your "Load" button? No, it doesn't use memoimp, but directly loads the files from the memo db. > Have you changed anything else from the original Pippy? I've also added a module "palmwin" for some of the PalmOS window drawing primitives. Here are two demos: http://www.demonseed.net/~jp/pippy/sirpinski.png http://www.demonseed.net/~jp/pippy/pinwheel.png If you want to try this out, I have builds at http://www.demonseed.net/~jp/pippy/pippy.prc.gz http://www.demonseed.net/~jp/pippy/pylib.prc.gz Next I want to add a handler for raw_input(), so it is easy to do basic user interaction. Having trouble figuring out where to put the forms in the code though... I don't want to mess up the separation between pylib and pippy. Jason |
|
From: Bill P. <bj....@te...> - 2003-11-15 00:59:22
|
> On Wed, Nov 12, 2003 at 01:06:18PM -0800, Bill Pitre wrote: >> > I think it is the 2MB memory of the Palm Zire that is giving me >> > problems, not the installation. When I install pylib.prc, it shows >> > up as "Python VM", which should be correct right ? >> > >> > I'm starting to get tempted to switch to Pocket C if the >> >stackless Pippy doesn't arrive soon :( >> >> Yes, "Python VM" is the PyLib and "Pippy" is the PyAp. They probably >> need to be installed within the same storage media. I mention this >> because some applications need their data to be on the same memory >> card as the application. >> >> "Pocket C" is very nice, easier to work with than Pippy. > > LispMe is pretty good too. > > I recently checked changes to Pippy's UI that are similar to LispMe's. > > http://www.demonseed.net/~jp/pippy/load.jpg > http://www.demonseed.net/~jp/pippy/main.jpg > > Much easier than using memoimp. > > jason > Jason, Fabulous! The screen shots look great. Did you build in the memoimp under your "Load" button? Have you changed anything else from the original Pippy? Thanks! -- Bill |
|
From: Posadas, D. <den...@in...> - 2003-11-13 04:54:20
|
I'll give Pippy another try then...Dennis -----Original Message----- From: pip...@li... [mailto:pip...@li...] On Behalf Of Jason Petrone Sent: Thursday, November 13, 2003 12:48 PM To: pip...@li... Subject: Re: [Pippy-discuss] error i am getting in pippy On Wed, Nov 12, 2003 at 01:06:18PM -0800, Bill Pitre wrote: > > I think it is the 2MB memory of the Palm Zire that is giving me > > problems, not the installation. When I install pylib.prc, it shows up > > as "Python VM", which should be correct right ? > >=20 > > I'm starting to get tempted to switch to Pocket C if the > >stackless Pippy doesn't arrive soon :( >=20 > Yes, "Python VM" is the PyLib and "Pippy" is the PyAp. They probably need=20 > to be installed within the same storage media. I mention this because some=20 > applications need their data to be on the same memory card as the=20 > application. >=20 > "Pocket C" is very nice, easier to work with than Pippy. LispMe is pretty good too. I recently checked changes to Pippy's UI that are similar to LispMe's. http://www.demonseed.net/~jp/pippy/load.jpg http://www.demonseed.net/~jp/pippy/main.jpg Much easier than using memoimp. jason ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Pippy-discuss mailing list Pip...@li... https://lists.sourceforge.net/lists/listinfo/pippy-discuss |
|
From: Jason P. <jp...@de...> - 2003-11-13 04:48:23
|
On Wed, Nov 12, 2003 at 01:06:18PM -0800, Bill Pitre wrote: > > I think it is the 2MB memory of the Palm Zire that is giving me > > problems, not the installation. When I install pylib.prc, it shows up > > as "Python VM", which should be correct right ? > > > > I'm starting to get tempted to switch to Pocket C if the > >stackless Pippy doesn't arrive soon :( > > Yes, "Python VM" is the PyLib and "Pippy" is the PyAp. They probably need > to be installed within the same storage media. I mention this because some > applications need their data to be on the same memory card as the > application. > > "Pocket C" is very nice, easier to work with than Pippy. LispMe is pretty good too. I recently checked changes to Pippy's UI that are similar to LispMe's. http://www.demonseed.net/~jp/pippy/load.jpg http://www.demonseed.net/~jp/pippy/main.jpg Much easier than using memoimp. jason |
|
From: Posadas, D. <den...@in...> - 2003-11-12 23:40:28
|
But I will continue to play w/python on my laptop :) Dennis -----Original Message----- From: Bill Pitre [mailto:bj....@te...]=20 Sent: Thursday, November 13, 2003 5:06 AM To: Posadas, Dennis Cc: pip...@li... Subject: RE: [Pippy-discuss] error i am getting in pippy > Bill, >=20 > I think it is the 2MB memory of the Palm Zire that is giving me > problems, not the installation. When I install pylib.prc, it shows up > as "Python VM", which should be correct right ? >=20 > I'm starting to get tempted to switch to Pocket C if the >stackless > Pippy doesn't arrive soon :( >=20 > Rgds, > Dennis Yes, "Python VM" is the PyLib and "Pippy" is the PyAp. They probably need=20 to be installed within the same storage media. I mention this because some=20 applications need their data to be on the same memory card as the=20 application. "Pocket C" is very nice, easier to work with than Pippy. |
|
From: Bill P. <bj....@te...> - 2003-11-12 20:29:17
|
> Bill, > > I think it is the 2MB memory of the Palm Zire that is giving me > problems, not the installation. When I install pylib.prc, it shows up > as "Python VM", which should be correct right ? > > I'm starting to get tempted to switch to Pocket C if the >stackless > Pippy doesn't arrive soon :( > > Rgds, > Dennis Yes, "Python VM" is the PyLib and "Pippy" is the PyAp. They probably need to be installed within the same storage media. I mention this because some applications need their data to be on the same memory card as the application. "Pocket C" is very nice, easier to work with than Pippy. |
|
From: Posadas, D. <den...@in...> - 2003-11-12 04:49:42
|
Bill, I think it is the 2MB memory of the Palm Zire that is giving me problems, not the installation. When I install pylib.prc, it shows up as "Python VM", which should be correct right ? I'm starting to get tempted to switch to Pocket C if the stackless Pippy doesn't arrive soon :( Rgds, Dennis -----Original Message----- From: Bill Pitre [mailto:bj....@te...]=20 Sent: Saturday, November 01, 2003 2:49 AM To: Posadas, Dennis Cc: pip...@li... Subject: Re: [Pippy-discuss] error i am getting in pippy > Can someone give me some tips here ? Thanks, Dennis Posadas >=20 > =20 Yes. >=20 > Program being imported from Memo Pad (Python type) >=20 > #helloworld.py > print "hello world" >=20 > In Pippy : > import memoimp; memoimp.install() #do I press eval here ? Yes. >=20 > import helloworld #do I press eval > here ? Yes. > #memoimp.uninstall() #do I need to run this > ? I never run the uninstall. Have never needed to run it. > Error message : > File "<string>", line 1, in ? > File "importer/memoimp.py", line 1, in ?=20 > File "importer/palm_imputil.py", line 10, in ? > ImportError: no module named marshal This looks like your Pippy installation is not complete. Did you=20 install "pylib.prc" which comes inside pippy_0_7.zip? If "pylib.prc" is installed in the same storage area as you installed "pippy.prc", then I=20 don't know what the problem is and suggest that you remove and reinstall pippy and the pylib. -- Bill =20 |
|
From: Bill P. <bj....@te...> - 2003-10-31 18:14:37
|
> Can someone give me some tips here ? Thanks, Dennis Posadas > > Yes. > > Program being imported from Memo Pad (Python type) > > #helloworld.py > print "hello world" > > In Pippy : > import memoimp; memoimp.install() #do I press eval here ? Yes. > > import helloworld #do I press eval > here ? Yes. > #memoimp.uninstall() #do I need to run this > ? I never run the uninstall. Have never needed to run it. > Error message : > File "<string>", line 1, in ? > File "importer/memoimp.py", line 1, in ? > File "importer/palm_imputil.py", line 10, in ? > ImportError: no module named marshal This looks like your Pippy installation is not complete. Did you install "pylib.prc" which comes inside pippy_0_7.zip? If "pylib.prc" is installed in the same storage area as you installed "pippy.prc", then I don't know what the problem is and suggest that you remove and reinstall pippy and the pylib. -- Bill |
|
From: Posadas, D. <den...@in...> - 2003-10-31 15:55:39
|
Can someone give me some tips here ? Thanks, Dennis Posadas =20 Program being imported from Memo Pad (Python type) =20 #helloworld.py =20 print "hello world" =20 =20 In Pippy : =20 import memoimp; memoimp.install() #do I press eval here ? import helloworld #do I press eval here ? =20 #memoimp.uninstall() #do I need to run this ? =20 Error message : =20 File "<string>", line 1, in ? File "importer/memoimp.py", line 1, in ? File "importer/palm_imputil.py", line 10, in ? ImportError: no module named marshal |
|
From: Bill P. <bj....@te...> - 2003-10-31 02:47:26
|
> Hello All, > > > > I just bought my first Palm last night (a Zire) and am > already running Python in interactive mode a few hours later. > > > > I'm stumped at the point where I would like to run this > very >simple python program... > > > > #test.py > > x, y = 0, 0 > > data_value = [1,2,3,4,5,4,3,2,1] > > > > for x in data_value: > > print '\n' > > for y in range(0,x): > > print '*', > > > > I've typed the following lines in Pippy...based on > Kathryn's > response in the sourceforge mailing list. > > > > import memoimp; memoimp.install( ) > > > > import test > > > > Questions : > > - do I need to eval each line ? > > - am I doing this correctly ? > > > > Thanks ! > > > > Rgds, > > Dennis Dennis, Remember that you must create a "Python" MemoPad category and save your program in it. The Pippy importer only looks for memos in the "Python" category. -- Bill |
|
From: Posadas, D. <den...@in...> - 2003-10-30 23:16:28
|
Hello All,
=20
I just bought my first Palm last night (a Zire) and am
already running Python in interactive mode a few hours later.
=20
I'm stumped at the point where I would like to run this very
simple python program...
=20
#test.py
x, y =3D 0, 0
data_value =3D [1,2,3,4,5,4,3,2,1]
=20
for x in data_value:
print '\n'
for y in range(0,x):
print '*',
=20
I've typed the following lines in Pippy...based on Kathryn's
response in the sourceforge mailing list.
=20
import memoimp; memoimp.install( )
=20
import test
=20
Questions :
- do I need to eval each line ?
- am I doing this correctly ?
=20
Thanks !
=20
Rgds,
Dennis
|
|
From: Jeffery D. C. <jco...@bo...> - 2003-05-09 12:57:46
|
Kat...@wm... wrote: > *Is there work being done on Pippy? > And where might I find the module docs--am on windows and cannot > uncompress .tar.gz to read .c files. > Thanks* Attached is a zip file containing all docs. Let me know if you have problems reading it. -- Jeffery Collins (http://www.boulder.net/~jcollins) |
|
From: <Kat...@wm...> - 2003-05-09 12:06:32
|
Is there work being done on Pippy? And where might I find the module docs--am on windows and cannot uncompress .tar.gz to read .c files. Thanks |
|
From: <Kat...@wm...> - 2003-04-29 01:39:23
|
Your script worked and I am finally able to import from memopad.
Thanks!
Is there Pippy documentation?--describing modules native to palm?
Given this reply, is it possible that some of you are still using Pippy? Is
there development in the works?
excuse all the questions,
and thanks again, Kathryn
Name a category in memopad Python.
Name all scripts--first memo line--with #myscript.py
import memoimp; memoimp.install()
5. You're ready to import from the Memo application. If you
named your module
"mymodule.py" in the memo pad, type the following in the
interactive interpreter:
import mymodule
6. To restore the original importer, type
memoimp.uninstall()
|
|
From: <Kat...@wm...> - 2003-04-27 12:34:02
|
How do we import from the memopad? What is the exact sequence of commands? Thanks |
|
From: Jeffery D. C. <jco...@en...> - 2002-06-03 14:22:11
|
Python was ported to the Palm for the purposes of embedding Python in PalmOS applications, so little attention was paid to the user interface. There are many obvious shortcomings, such as the ability to create standalone applications, GUI support, etc.. These and others are apparently being addressed by another developer, but no patches have been submitted. Since I have very little time to spend developing pippy, I'm hoping that the move to sourceforge will stimulate the interest of developers to contribute to the project. If you are interested, please visit the site and join the mailing lists there (http://lists.sourceforge.net/lists/listinfo/pippy-{devel,discuss}). Jeff PS: This list is closing very soon now (possibly today). Let's continue this discussion at pip...@li... (http://lists.sourceforge.net/lists/listinfo/pippy-discuss). |