[Tutor] A few Python Mysteries [Reset]

Wayne Watson sierra_mtnview at sbcglobal.net
Tue Dec 27 03:43:43 CET 2011


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:\\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 from the same command prompt
> where you try to run python? Or indeed any command prompt:
>
> C:\WINDOWS> notepad C:\Users\Wayne\.idlerc\recent-files.lst
>
>> I see recent-files.lst is openable with Word.
>
> Thats nort a surprise, its probably just a text file, so Windows could 
> associate just about anything!
>
>> I see mydir_math.py is opened with python.exe!!??
> > True of other py files.
>
> Which is what you'd expect, after all the default behaviour for a 
> python script should surely be to get executed by Python? What else 
> would you expect?
>

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