[Tutor] A few Python Mysteries [Reset]

Wayne Watson sierra_mtnview at sbcglobal.net
Mon Dec 26 19:57:12 CET 2011


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 same command prompt?
> ie. is it just idle that can't open it, or is it any program?
>
Opens with Notepad and jEdit  from the menu off a py file.
I'm suspicious of the "Unknown Account(S-1-21-lots of digits)" seen in 
Properties' Security tab. It seems bizarre and has read and read&execute 
properties only. "Unknown User" exits for txt and jpg files, so it's not 
isolated to py.

Perhaps there's an ownership problem; however, Owner (recent-files.lst) 
is: solarblast\Wayne.  That's me.

I'm looking at the General tab of .idlerc.  Attributes Read-only check 
box is blue. If I click on it, it goes white. If I click again, it shows 
the check mark. Eventually, I get back to blue.

I'm now looking at Properties-General for recent-files.lst, and Read 
-only check box is white.  Presently, I do not know if this amounts to 
anything.

I see recent-files.lst is openable with Word.

I see mydir_math.py is opened with python.exe!!??  True of other py files.

-- 
            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
                     -- "The Date" The mystery unfolds.

                     Web Page:<www.speckledwithstars.net/>




More information about the Tutor mailing list