Python 2.5.2

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
wegstar
Posts: 11
Joined: Fri 01 Jun 2007, 05:00

Python 2.5.2

#1 Post by wegstar »

Hello all, I just recently got back into Puppy Linux after a hiatus of several months... and I see that much has changed!

Anyway, I looked around, but I did not find a recent build of Python 2.5.2 in a pet package, so I built one. Here it is, enjoy! : :) :

http://wegstar.sansuei.com/Py2.5.2.pet (6 MB)

(This was built with default configuration options, gcc verison 4.2.2. Uncompressed: 24 MB. I removed the *.pyc and *.pyo files and stripped binaries to reduce size. Headers and static link library for development are included.)

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

#2 Post by Lobster »

oh joy - a great language

might be time to write part two of my intro . .
http://peace.wikia.com/wiki/Python

take the python challenge . . .
http://www.pythonchallenge.com/

:) Many thanks
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

cartz
Posts: 85
Joined: Wed 09 Apr 2008, 00:39

#3 Post by cartz »

Hi wegstar,

Thanks for the .pet.

I'm relatively new to linux and am extremely new to python (just at the 'hello world' stage using a windows machine).

Two problems I'm having with the .pet

(1) when I try to run idle I get the error:
** IDLE can't import Tkinter. Your Python may not be configured for Tk. **

(2) When I choose the menu item you set up on the Utility menu (Python 2.5.2 scripting) my system hangs. I don't even know what that menu item is meant to do as I have only used idle so far but I thought I'd try it.

I'm using Puppy 4.00.

Any help you can offer is much appreciated.

Thanks,

cartz.

wegstar
Posts: 11
Joined: Fri 01 Jun 2007, 05:00

#4 Post by wegstar »

(1) when I try to run idle I get the error:
** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
Sorry, this Python .pet does not have the Tk library... :-(
(2) When I choose the menu item you set up on the Utility menu (Python 2.5.2 scripting) my system hangs. I don't even know what that menu item is meant to do as I have only used idle so far but I thought I'd try it.
hmm.. there shouldn't be a menu item.. I might've added it in by mistake. The menu item serves no function.
Without Tk, this Python is meant to be used in the console, no GUI. Simply type 'python' in the console to access the live interpreter and also to run your scripts. :-)

Cur Dog
Posts: 64
Joined: Sun 23 Dec 2007, 00:49

#5 Post by Cur Dog »

I had similar issues and loaded the tkinter libraries.
Try this link http://dotpups.de/dotpups/Programming/TclTk851.pup
(Thanks MU!!!!! )
Hope this helps you.

Cur Dog

cartz
Posts: 85
Joined: Wed 09 Apr 2008, 00:39

#6 Post by cartz »

Hi Cur Dog,

Unfortunately that didn't work for me.

Can you please confirm that you have idle working.

If so, where did you download the .pet or .sfs of python that you are using?

Thanks,

cartz.

Cur Dog
Posts: 64
Joined: Sun 23 Dec 2007, 00:49

#7 Post by Cur Dog »

cartz, sorry for the delay in the response I have been away. I have confirmed tha tIdle is working. I downloaded the pet package that wegstar has posted. I then went and downloaded the pet package from Mu's site that I have the link posted for. This is all that I have knowingly done. Idle is located in usr/bin and I simply just created a symlink for it so that when I right click the python script I can select open with and select idle from the list. Again, I apologize for the delay in my response.

Cur Dog

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#8 Post by enhu »

can somebody please re-up the pet.. its not available anymore

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#9 Post by abushcrafter »

Python 2.5.2 is in the devx***.sfs

Post Reply