> One of the many things I tried, is as below. > > ************************************************* > > > f=open('od.txt','w') > --------------------------------------------------------------------------- > IOError Traceback (most recent call > last) > > C:\Windows\system32\<ipython console> in <module>() > > IOError: [Errno 13] Permission denied: 'od.txt' > >
It appears that your ipython runs in C:\Windows\system32 You can find it out for sure by executing "os.getcwd()" after importing the "os" module. You may not have permissions in C:\Windows\system32, which is why the error is printed. Eli -- http://mail.python.org/mailman/listinfo/python-list