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 <module>
    idlelib.PyShell.main()
  File "C:\Python27\Lib\idlelib\PyShell.py", line 1403, in main
    shell = flist.open_shell()
  File "C:\Python27\Lib\idlelib\PyShell.py", line 279, in open_shell
    self.pyshell = PyShell(self)
  File "C:\Python27\Lib\idlelib\PyShell.py", line 832, in __init__
    OutputWindow.__init__(self, flist, None, None)
  File "C:\Python27\Lib\idlelib\OutputWindow.py", line 16, in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Python27\Lib\idlelib\EditorWindow.py", line 273, in __init__
    self.update_recent_files_list()
File "C:\Python27\Lib\idlelib\EditorWindow.py", line 799, in update_recent_files_list
    rf_file = open(self.recent_files_path, 'w')
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.



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 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:\Python27> python.exe Lib\idlelib\idle.py.

HTH


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


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to