Python Puplet (based on Racy)

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

Python Puplet (based on Racy)

#1 Post by antiloquax »

EDIT
This is a .vdi of WaryPy. It's based on the latest Wary (5.3) and runs in VB without PAE.
warypy.vdi
warypy.iso
See attached image.

The latest version of RacyPy is here.
NOTE - this has the bugs to do with Java and Python2 / devx fixed.

This time the devx is separate, but I did put it in the iso. It has Python 2.7.2 and 3.1.4, both with Pygame. JDK also included.


This is based on Racy 5.2.2. I have taken out some packages (but hopefully without breaking anything).
I have also heavily pruned the menus. If you don't see something important, it might still be there. But if you are looking for three different calculators, you're out of luck.

Anyway, the idea behind this was that I wanted something that I could boot into on pretty much any machine and do programming. I run a programming club at my school and we have been donated some old laptops to play with. This gives me a quick way to get the kids coding.


The other feature of this puplet is that I have put some Python tutorials in a tar.gz archive (in my-documents).


If you are just getting started with programming in Python, you can have a look at my blog. I've added a post today which goes through some of the ways Python handles data types.

Blog post on strings, integers and floats - with screen-shots.


PETS
NEW: Joe's Own Editor

Lua-5.2.0
ghc-7.4.1 Haskell.
Scratch-1.4
Ruby-1.9.3
Squeak-4.4.7
Pharo-1.3
Attachments
wary.png
(120.54 KiB) Downloaded 7039 times
Last edited by antiloquax on Wed 18 Apr 2012, 08:14, edited 23 times in total.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

PETs

#2 Post by antiloquax »

Updated PET links in first post.
Last edited by antiloquax on Tue 13 Mar 2012, 16:36, edited 1 time in total.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hello, antiloquax.

Potentially very useful, especially with the tutorials.
Many thanks for your efforts.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#4 Post by antiloquax »

Thanks for your comment musher0.


Updated PET links in first post (now hosted on Ubuntu One)
Last edited by antiloquax on Tue 13 Mar 2012, 16:37, edited 2 times in total.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#5 Post by jemimah »

I think you should consider basing it on Saluki instead - assuming the target hardware is not too ancient.

Firstly, I'd give you upload access to the repo. A shared repo would benefit both of us in terms of package selection and you'd get dependency resolution which you are going to need.

Secondly, Saluki has the apps packaged in a separate sfs than the core - so you don't need to try to figure out which is which.

Thirdly, I'd be able to help you out with problems, and you (and your programming club) could contribute fixes - it would be win/win for everyone.

Saluki is based on Racy so the packages you've already built would likely work. I'd be fine if you wanted to replace my python build or whatever.

elraven
Posts: 82
Joined: Wed 04 Apr 2007, 03:20
Location: wnc-usa

RacyPy

#6 Post by elraven »

I'm posting from Racy Py now . I find it to be very stable . There are no complaints from the system at all . This is just the thing i've been looking for .I'm new to python and other languages but i'd like to learn them . This will be a big help . Keep up the good work .

Elraven :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#7 Post by antiloquax »

I am so pleased that you have had a look at my puplet!

@jemimah - I haven't got around to trying out Saluki yet. I will do so soon and explore the ideas you mentioned.

[Edit] I don't think this would run well on my laptop (which is my main computer) - it's only a Pentium III.
Also, I like having the newer kernel and I like JWM & ROX. So, I think I'll press on with Racy at the moment.


@elraven: wow! :D I am very pleased you are giving it a try. Let me know if there's anything specific you want - I'm going to keep working on this! If you are new to programming, you might like Scratch (see PET in post above). It's fun and aimed at kids, but I think it's a great tool for experimenting with coding.

[Edit]
Here's a pet for the up to date version of Squeak. Squeak is a Virtual Machine designed for programming in Small Talk.
Scratch actually runs in Squeak, but it's an older version. WIth this one, you'll be able to run Pharo, for instance.

PET links now in first post
Last edited by antiloquax on Tue 13 Mar 2012, 16:38, edited 2 times in total.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#8 Post by antiloquax »

[Edit] Oops, that didn't work.
What I meant to say is that here is a screenshot of RacyPy running Python, Ruby and Lua - with pacer106's lovely Puppy / Raspberry Pi wallpaper!
Attachments
trilingual.png
(149.53 KiB) Downloaded 8373 times
Last edited by antiloquax on Sun 19 Feb 2012, 08:31, edited 1 time in total.
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

So, I think I'll press on with Racy at the moment.
antiloquax, Jemimah, fellow puppys,
I will be putting on a link on Puppy Hacker School shortly . . .
http://puppylinux.org/wikka/PuppySchoolProgramming
In a month or two we will be promoting the 3 p's

Pi
Puppy
Python
and Penguin (yeah well . . . think of penguin as Tux d'artanian)

Python is the official language for the Raspberry Pi educational imitative
- we may well be able to wean the Raspberry masses onto the compiled python like genie language - maybe :shock:
http://puppylinux.org/wikka/ValaGenieintro

It may be that Saluki requires too recent hardware -understood.
However I am urging all Puppys to sell their grandmas (you might not be able to do this on Ebay)
to get a new motherboard (the Rpi)

In almost every computation a great variety of arrangements for the succession of the processes is possible, and various considerations must influence the selections amongst them for the purposes of a calculating engine. One essential object is to choose that arrangement which shall tend to reduce to a minimum the time necessary for completing the calculation.
Ada Lovelace (died 1852 - early Pi-oneer)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#10 Post by nooby »

Jemimah, what is it in Saluki that would make it fail to work on their older
computers then? If the school has been given Pentium III as a gift for
the kids?

I have an Acer D255 just now which make use of Atom N450?CPU
and racyPy works on that one so that is not a Pentium III :)
I may have some Pentium 4 in my cellar. But I am too lazy to try.

antiloquax I tested your RP but know nothing about programming.
I guess me are too confused to do such. I failed at it each time
I did try so.

dependency resolution? Jemimah would know. My guess is that
when you use a pet that is not made for RacyPy then the built
in program like Puppy Packet Manager has function that look
through it if all the glib dirs are there?????? I just wild guess.

Look here Menu > Setup > Check dependencies ... Then it reports
if it found things that failed to "resolve?"

I mean what differ between Racypy and Saluki?
Last edited by nooby on Sun 19 Feb 2012, 09:13, edited 1 time in total.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#11 Post by antiloquax »

jemimah wrote:I think you should consider basing it on Saluki instead .

Firstly, I'd give you upload access to the repo. A shared repo would benefit both of us in terms of package selection and you'd get dependency resolution which you are going to need.

Secondly, Saluki has the apps packaged in a separate sfs than the core - so you don't need to try to figure out which is which.

Thirdly, I'd be able to help you out with problems.
Hi jemimah,
I've been thinking about your suggestion again. I really appreciate the offer of help. I think I was a bit too hasty when I said I would stay with Racy.
I'm afraid I don't quite know what you mean about "dependency resolution" - is this about making sure things will work on other versions? I've tried some of my pets in Barebones Lucid 5.01 and they work okay.
I've had some PMs about glibc and compiling - I am a bit out of my depth with this ...
I think I need to find out which version of Puppy has the best set-up for compiling and start again there.
thanks again!
:D
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#12 Post by antiloquax »

Lobster wrote:Python is the official language for the Raspberry Pi educational initiative.
Yes - that's what got me started learning Python, when I heard a report on Radio 4 about the RPi. And hence this version of Puppy ...
Lobster wrote: We may well be able to wean the Raspberry masses onto the compiled Python-like Genie language.
Now there's a thought. Genie sounds great. The speed factor for starters ...
Lobster wrote: It may be that Saluki requires too recent hardware.
I've just posted about this, but I want to know what's the best Puppy to use as a starting point in terms of compiling. It's only my laptop that is really old :oops: . But that doesn't matter - I can build a version for sharing on a different machine.
Lobster wrote: However I am urging all Puppys to ... get a new motherboard (the Rpi)
Grr - their website is down - could this mean they have sold out already?
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#13 Post by nooby »

I fail to reach them too www.raspberrypi.org/

Check out links here to blog of the main players they
might explain if them are doing maintenance or if
them have an outage or attack or something going on

http://en.wikipedia.org/wiki/Raspberry_Pi
http://h2g2.com/A13735596
Here is the blog
http://raspberrypiblog.ics.com/
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#14 Post by Lobster »

what's the best Puppy to use as a starting point in terms of compiling
Saluki.
If jemimah - an experienced Puppy offers hand holding
. . . that is like gold . . . make use of it
It really is win win :)
Last edited by Lobster on Sun 19 Feb 2012, 16:06, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#15 Post by Lobster »

Nothing in email or twitter about Rpi site
It is the Raspberry geeks swamping the location perhaps . . .
seems intermittent - was working again - now not . .
Last edited by Lobster on Sun 19 Feb 2012, 16:07, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#16 Post by antiloquax »

Thanks Lobster, I will download Saluki!
My sentimental attachment to JWM and ROX will have to be put to one side.
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#17 Post by nooby »

And if Saluki still have Midori you have to get used to that one too.

Apart from that I trust it would be a win-win thing to cooperate with Jemimah.
She is good at coding. I don't agree with her preference for double click
instead of single click and the choice of browser but she is the dev and
I am just a happy user to have this many devs giving us puppy varieties
It is a blessing indeed. So many opportunities to find something to like.

Take a look at Iguleder and his roar-ng and Subilto OS too.
He is inventive trying to start anew with same approach as Barry.
To do his own thing. Such is encouraging. Sorry my crazy English
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#18 Post by antiloquax »

Thanks Nooby,
Now I have had a chance to try Saluki, I think it would be better to join in with that project! :oops:
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Ray MK
Posts: 774
Joined: Tue 05 Feb 2008, 09:10
Location: UK

#19 Post by Ray MK »

Hi

Nice - win,win - we all win - and benefit'

Saluki works extremely well on my 10yr old Acer laptop.

Very best regards - Ray
[b]Asus[/b] 701SD. 2gig ram. 8gb SSD. [b]IBM A21m[/b] laptop. 192mb ram. PIII Coppermine proc. [b]X60[/b] T2400 1.8Ghz proc. 2gig ram. 80gb hdd. [b]T41[/b] Pentium M 1400Mhz. 512mb ram.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post by Lobster »

My sentimental attachment to JWM and ROX will have to be put to one side.
you can download and use rox from the package manager (in the control centre) - I do

you can press ctrl + alt + backspace
and type xwin jwm
. . . and use JWM (Jemimah does not recommend it but I prefer to use JWM for now . . . )

Puppy Linux
Win without the 'duh's!'
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply