Re: [Tutor] apply() after class?

2009-02-09 Thread Wayne Watson
Title: Signature.html Any idea what it would be used for? Kent Johnson wrote: On Mon, Feb 9, 2009 at 2:03 PM, Wayne Watson wrote: I see the following code that follows some of the class definitions in some python code I'm modifying. I don't see the function anywh

Re: [Tutor] apply() after class?

2009-02-09 Thread Wayne Watson
reg, val ) That's the end of the class. Is there something going on here between body-apply and tkSimpleDialog? Making them available to it? Wayne Watson wrote: Any idea what it would be used for? Kent Johnson wrote: On Mon, Feb 9, 2009 at 2:03 PM, Wayne Watson wrote:

Re: [Tutor] IDLE vs PythonWin

2009-02-09 Thread Wayne Watson
is no right or wrong way to do it. Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ From: Wayne Watson To: Alan Gauld Sent: Monday, 2 February, 2009 1:00:15 PM Subject: Re: [Tutor] IDLE vs PythonWin I must be missing

[Tutor] Getting Idle to work in Win7

2011-07-27 Thread Wayne Watson
, the same thing happens when I select IDLE. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet "The

Re: [Tutor] Getting Idle to work in Win7

2011-07-28 Thread Wayne Watson
alf Of Walter Prins Sent: Wednesday, July 27, 2011 4:39 PM To: tutor@python.org Subject: Re: [Tutor] Getting Idle to work in Win7   Hi On 27 July 2011 22:07, Wayne Watson <sierra_mtnv...@sbcglobal.net>

[Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
it in IDLE, I would get an error that said something like this: c:\Users\blah\...\junk.py is not a valid Win 32 app. (or idle.pyw) Comments? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
I do not see Python listed there. I see Word Pad, Winamp, Paint, ... I'm at CP/All CP Items/Default prgrms/Set Defaults On 11/14/2011 2:18 PM, Marc Tompkins wrote: On Mon, Nov 14, 2011 at 2:08 PM, Wayne Watson <sierra_mtnv...@sbcgl

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
On 11/14/2011 4:04 PM, Marc Tompkins wrote: On Mon, Nov 14, 2011 at 4:00 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: I do not see Python listed there. I see Word Pad, Winamp,

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
ov 14, 2011 at 4:08 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: I had py 2.5.2 installed (Yes, I know it's old) on my Win 7 64-bit PC earlier this year, but it began to fail back in June.  I tried a uninstall/install, but tha

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
On 11/14/2011 6:17 PM, Marc Tompkins wrote: On Mon, Nov 14, 2011 at 4:55 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: On 11/14/2011 4:04 PM, Marc Tompkins

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-14 Thread Wayne Watson
Note that I did not install some libraries like numpy before uninstall/install. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
head...? On Win7, I think I'm always the administrator. Everything gets installed from my userid. ... -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
opriate Python interpreter set CURRDIR=%~dp0 start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9 --

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
idle anything. After this works, you can worry about running IDLE.bat. But get something working first. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N,

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
of the Python interpreter and put it in (essentially) a self-extracting Zip file. Yes, the result is an executable - usually a gigantic one - but it's not "compiling" in the usually-understood meaning of the word. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
e default action. And there's nothing wrong with that either - but you need to recognize that it is NOT the default setting, and plan accordingly. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)

Re: [Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

2011-11-15 Thread Wayne Watson
f not, I'm going to declare it dead. I think I'm done here with 2.5.2. I think it's time to move to 2.6 or 2.7. Now! On 11/15/2011 4:33 PM, Alan Gauld wrote: On 15/11/11 23:55, Wayne Watson wrote: I think we've exhausted ourselves. Time to ditch 2.5.2 and find a better ver

[Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet CE 1955 October 20 07:53:32.6 UT -- &q

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
On 12/19/2011 8:50 AM, James Reynolds wrote: On Mon, Dec 19, 2011 at 11:35 AM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: Win 7, 64-bit I had Py 2.5 installed on my PC earlier this year,

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
to reboot. 10. To test, open a cmd prompt and and type simply "python". if you get Python 2.7.2 (some more stuff) then python is now on your path. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
On 12/19/2011 3:19 PM, Steven D'Aprano wrote: Wayne Watson wrote: Win 7, 64-bit I had Py 2.5 installed on my PC earlier this year, and it began failing around June. I finally uninstalled it, and tried 2.6. Still had problems that centered around getting to IDLE. Uninstalled 2.6, and

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
ding on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet CE 1955 October 20 07:53:32.6 UT

Re: [Tutor] A few Python Mysteries

2011-12-20 Thread Wayne Watson
I changed Python25 to Python27, and rebooted. I got the same two dll msgs again. On 12/19/2011 7:33 PM, Wayne Watson wrote: It became apparent during the other part of this thread that I had not uninstalled Python 2.7, as I thought I had. As pointed out in the PATH discussion (James R

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
uninstalled it long ago too. On 12/21/2011 2:43 AM, Steven D'Aprano wrote: Wayne Watson wrote: I changed Python25 to Python27, and rebooted. I got the same two dll msgs again. I suggest you find out what applications are trying to run using Python 2.5. This is a Windows problem -- you

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
Howdy, On 12/21/2011 2:08 AM, Walter Prins wrote: Hi Wayne, On 21 December 2011 02:32, Wayne Watson wrote: I changed Python25 to Python27, and rebooted. I got the same two dll msgs again. The PATH issue has nothing to do with your error messages. True, but it should have a lot to do with

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
for this in the system32 directory. To be rid of the startup errors, you need to replace the dll that was removed by the uninstallation of python2.5 - to do this, reinstall python2.5 See my post to Prins above. Bodsda Sent from my BlackBerry® wireless device -Original Message----- From: Wayn

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
Hi, On 12/21/2011 10:18 AM, Walter Prins wrote: Hi Wayne, On 21 December 2011 15:15, Wayne Watson wrote: Python is long gone from my system. I presume you mean Python **2.5** is long gone from your system (not Python in general), but in any case, this much has been well understood since

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-21 Thread Wayne Watson
at. It is in the same idlelib. Is there something that needs to be done here, to get IDLE active? Is this where having Python27 in the path causes a problem with IDLE? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 h

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
Hi, Walter. On 12/21/2011 8:20 PM, Walter Prins wrote: Hi Wayne, On 22 December 2011 03:21, Wayne Watson wrote: I uninstalled Uniblue, but as it turns out, it was an incomplete uninstall. I just spent the last 30-45 minutes trying to get it uninstalled. Finally, I sent an e-mail on how to

Re: [Tutor] A few Python Mysteries

2011-12-22 Thread Wayne Watson
On 12/21/2011 4:10 PM, Alan Gauld wrote: On 21/12/11 19:56, Wayne Watson wrote: To clarify: Python on Windows does **not** put itself on the System PATH when installed. So, PythonNN, where NN is the version, should never appear in PATH? Not from a standard Python installation. But other

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
I just searched the registry for the dll. Nothing. I then searched for python. It found a a Python "folder" with a PythonCore folder. Under it are three folders: 2.5, 2.7 and 3.2. I do recall installing 3.2, but I'm pretty sure I uninstalled it. Under each of the three folders is Module. Look

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
More. I did some Googling on IDLE not appearing. My case appears not to be unique. One site offered this as a solution in 2.6, C:\Python27>python.exe \Lib\idlelib\idle.py. It issued a complaint that "no such file or directory exists". It however does. A place to go that may clear this up mi

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
nted out a few msgs ago here the permissions shown on Properties looked a bit odd. On 12/22/2011 9:58 AM, Alan Gauld wrote: On 22/12/11 16:37, Wayne Watson wrote: C:\Python27>python.exe \Lib\idlelib\idle.py. It issued a complaint that "no such file or directory exists". It ho

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
12/22/2011 2:34 PM, Alan Gauld wrote: On 22/12/11 19:08, Wayne Watson wrote: IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' - Maybe as I pointed out a few msgs ago here the permissions shown on Properties looked a bit odd.

[Tutor] Unable to remove three libs from XP

2011-12-23 Thread Wayne Watson
. How do I get around this problem? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet CE 1955 Octo

Re: [Tutor] Unable to remove three libs from XP

2011-12-23 Thread Wayne Watson
This is a laugher. The Add/Remove screen was hiding a dialog that wanted to know if I really wanted to remove the program. Argh. On 12/23/2011 4:56 AM, Wayne Watson wrote: I have three py libs and the python program itself, 2.52, installed on an 6 year old HP Laptop. I decided to remove them

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-24 Thread Wayne Watson
ow I might login. On 12/23/2011 11:47 PM, Lie Ryan wrote: On 12/23/2011 03:20 PM, Wayne Watson wrote: Hi, I found it, but not in a place I would expect. It's under my username, Wayne. It is a folder and has three files: breakpoints.lst recent-files.lst ZZrecent-files.lst The last one has

[Tutor] Which libraries for Python 2.5.2

2011-12-24 Thread Wayne Watson
mport tkMessageBox import tkSimpleDialog from pylab import plot, xlabel, ylabel, title, show, xticks, bar I tried numpy-1.2.0 and matplotlib-0.98.3 and had the same difficulty. What are wiser choices? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 D

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-24 Thread Wayne Watson
Permissions as follows: SYSTEM: All. From Full control to write Account Unknown(S-1-5-21...): read, exec, list folder contents, Read Wayne: (normal use) All. From Full control to write Admin: All. From Full control to write WMPNetwork: Read -- Wayne Watson (Watson Adventures, Prop

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-24 Thread Wayne Watson
rmissions as follows: SYSTEM: All. From Full control to write Account Unknown(S-1-5-21...): read&exec, Read Wayne: (normal use) All. From Full control to write Admin: All. From Full control to write WMPNetwork: Read -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-26 Thread Wayne Watson
On 12/24/2011 11:24 AM, Alan Gauld wrote: On 24/12/11 18:58, Wayne Watson wrote: Yikes. I gave the permissions for .idlerc above. The problem is with recent-files.py. IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' Can you open it in Notepa

Re: [Tutor] A few Python Mysteries [SOLVED]

2011-12-26 Thread Wayne Watson
Thanks to all who followed this long perplexing thread. On 12/24/2011 8:08 PM, Lie Ryan wrote: On 12/25/2011 06:24 AM, Alan Gauld wrote: On 24/12/11 18:58, Wayne Watson wrote: Yikes. I gave the permissions for .idlerc above. The problem is with recent-files.py. IOError: [Errno 13] Permission

Re: [Tutor] Which libraries for Python 2.5.2

2011-12-26 Thread Wayne Watson
Arts wrote: On Sat, Dec 24, 2011 at 6:37 PM, Wayne Watson wrote: I'm trying to restore Python 2.5.2 on an old PC for a particular application that uses it from 4-5 years ago. According to the latest manual on it, the following should be installed. python-2.5.2.msi PIL-1.1.6.win32-py2.5.

Re: [Tutor] Which libraries for Python 2.5.2

2011-12-26 Thread Wayne Watson
import affine_transform ImportError: DLL load failed: The specified module could not be found. >>> On 12/26/2011 11:44 AM, Wayne Watson wrote: Yes, that's a reasonable request, and I expected it, but hoped it might be apparent from what I revealed. Why? It's on another PC this

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-26 Thread Wayne Watson
Regardless, the problem is solved. See my [SOLVED] msg I put up this morning (USA). It's in response to Lie Ryan. However, I have no real idea how is was caused. On 12/26/2011 1:28 PM, Alan Gauld wrote: On 26/12/11 18:57, Wayne Watson wrote: IOError: [Errno 13] Permission denie

Re: [Tutor] Which libraries for Python 2.5.2 [SOLVED]

2012-01-01 Thread Wayne Watson
This problem was solved when my wife noticed that there was a second install disk for the 5 year old XP zx6000 PC she had given me, which I will now give to a friend. The problem originally was a missing dll that Python wanted. All is well now. -- Wayne Watson (Watson Adventures

[Tutor] Return to my python26.dll & python.dll problems on bootup

2012-01-05 Thread Wayne Watson
7;s the problem? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet CE 1955 October 20 07:53:32.6 UT

Re: [Tutor] Return to my python26.dll & python.dll problems on bootup

2012-01-07 Thread Wayne Watson
have pages that are thick with other $ products advertising. Once you get through several pages of them, you then find the download. On 1/5/2012 10:25 AM, Steven D'Aprano wrote: Wayne Watson wrote: I have two problems upon bootup of my Win7 PC, 64-bit. Wayne, I sympathize with your pro

<    1   2   3   4   5