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 denied: 'C:\\

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

2011-12-26 Thread Alan Gauld
On 26/12/11 18:57, Wayne Watson wrote: IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' Can you open it in Notepad from the same command prompt? Opens with Notepad and jEdit from the menu off a py file. That's not what I asked. Does it open in Notepad fr

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

2011-12-26 Thread Wayne Watson
Excellent strategy!! It worked. I just examined the properties for each .idlerc, and noticed that the troublesome one was created in Feb 4,2010. Probably with Python 2.5.2. I don't know why or necessarily whether new installs shouldn't have changed the folder or recreated it. Thanks to all

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 Notepad from the sa

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

2011-12-24 Thread Lie Ryan
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 denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' Can you open it in Notepad from the same

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

2011-12-24 Thread Alan Gauld
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 Notepad from the same command prompt? ie. is it just idle that c

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

2011-12-24 Thread Wayne Watson
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' These are for it. Same as before except for Account Unknown, which had "list folder contents". Permissions as follows:

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
My guess is that some months ago I looked at .idlerc on another "mission" to figure what ails my python install, and just more or less backed up the recent-files.lst. However, the important point here is, I think, how to change the permissions for the .idlerc folder. They vary by how I might

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

2011-12-23 Thread Lie Ryan
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 the odd ZZ, but is empty. breakpoints.lst is empty too. That c

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

2011-12-22 Thread Wayne Watson
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 the odd ZZ, but is empty. breakpoints.lst is empty too. recent-files.lst contains about 21 files like: C:\Us

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

2011-12-22 Thread Alan Gauld
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. But the problem here is with .idlerc in your ho

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

2011-12-22 Thread Wayne Watson
Ah, yes.Thanks. That is, I think, was the what I copied from some web page. OK, I just tried it, and got several messages. C:\Python27>python.exe Lib\idlelib\idle.py Traceback (most recent call last): File "Lib\idlelib\idle.py", line 11, in idlelib.PyShell.main() File "C:\Python27\Lib\id

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

2011-12-22 Thread Alan Gauld
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 however does. It almost certainly doesn't. The \ in front of Lib says look in the root directory of the C drive. You probably need: C:\Pytho

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
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

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 pr

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 do

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

2011-12-21 Thread Walter Prins
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 do it. I have no > idea how it got entangled with Pytho

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

2011-12-21 Thread Wayne Watson
If you read on past a few paragraphs, there is some reason for hope that 2.7.2 is close to running. But first, the dll story. As it turns out in the other part of this thread, the "Python25.dll" was a typo on my part. It's really Python26.dll. Upon re-booting to make sure of that I read the

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Dave Angel
On 12/21/2011 07:10 PM, Alan Gauld wrote: One thing that may be significant... Are you installing your Windows Python versions from python.org or from ActiveState? They are very similar but not identical. And one difference is that ActiveState sets up both the PATH and the registry to make it

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Alan Gauld
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 programs whjich use Pythonn may install a vers

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 seve

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
e Watson Sender: tutor-bounces+bodsda=googlemail@python.org Date: Wed, 21 Dec 2011 07:15:31 To: Steven D'Aprano; tutor@python.org Subject: Re: [Tutor] A few Python Mysteries Python is long gone from my system. I only have Python 27. Somewhere a long the line, the uninstall of Python5 pro

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 P

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Walter Prins
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 several emails ago. >I only have Python 27. OK, that's

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread bodsda
1 To: Steven D'Aprano; tutor@python.org Subject: Re: [Tutor] A few Python Mysteries Python is long gone from my system. I only have Python 27. Somewhere a long the line, the uninstall of Python5 probably did not remove the Python5 from the PATH. I have no explanation as to why Python7 was n

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Wayne Watson
Python is long gone from my system. I only have Python 27. Somewhere a long the line, the uninstall of Python5 probably did not remove the Python5 from the PATH. I have no explanation as to why Python7 was not in the PATH. I have no idea why some remnant of why Python6 is hanging around. I u

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Steven D'Aprano
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 need to get the list of programs that run at start up and inspect them for someth

Re: [Tutor] A few Python Mysteries

2011-12-21 Thread Walter Prins
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. Python25.dll is normally installed in the C:\Windows\System32 folder, not C:\Python25, so whet

Re: [Tutor] A few Python Mysteries

2011-12-20 Thread James Reynolds
On Tue, Dec 20, 2011 at 9:32 PM, Wayne Watson wrote: > 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 th

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.), the

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
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.), the last item in the system variable PATH was Python25. I would think then changing it to Python27 might Python rolling again.

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Dave Angel
On 12/19/2011 08:47 PM, Wayne Watson wrote: The PATH variable for me (user) has c:\Users\Wayne\g95\bin By top-posting, you've ruined the whole continuity of what you quoted. Anyway, with a PATH like that, you won't be able to type Python at a command prompt. It works much better if it's on

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
The PATH variable for me (user) has c:\Users\Wayne\g95\bin On 12/19/2011 12:25 PM, Prasad, Ramit wrote: James wrote: In windows 7, 1. Go to start 2. Right click on "Computer" 3. Select Properties. This will bring up the "System" menu. 4. Select "Advanced system Settings" on the left hand side.

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 went

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
1. Go to start 2. Right click on "Computer" 3. Select Properties. This will bring up the "System" menu. 4. Select "Advanced system Settings" on the left hand side. 5. In this new window, select Environment variables... at the bottom 6. In the bottom window area, scroll down until you find "PATH" 7

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Steven D'Aprano
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 went to 2.7. Same problem. I completely uninstalled 2.

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread Prasad, Ramit
James wrote: In windows 7, 1. Go to start 2. Right click on "Computer" 3. Select Properties. This will bring up the "System" menu. 4. Select "Advanced system Settings" on the left hand side. 5. In this new window, select Environment variables... at the bottom 6. In the bottom window area, scroll d

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread James Reynolds
On Mon, Dec 19, 2011 at 2:21 PM, Wayne Watson wrote: > > > 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, and it began failing >

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 wrote: Win 7, 64-bit I had Py 2.5 installed on my PC earlier this year, and it

Re: [Tutor] A few Python Mysteries

2011-12-19 Thread James Reynolds
On Mon, Dec 19, 2011 at 11:35 AM, 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 went to 2.7. >

[Tutor] A few Python Mysteries

2011-12-19 Thread Wayne Watson
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 went to 2.7. Same problem. I completely uninstalled 2.7. I do have several