On Sunday, May 5, 2013 7:46:48 PM UTC+5:30, Roy Smith wrote: > > On Sunday, May 5, 2013 7:21:59 PM UTC+5:30, Roy Smith wrote: > > > > In article <9ace60b8-a07d-41bc-ac9f-507f6c61f...@googlegroups.com>, > > > > > > Just a wild guess, but did you happen to create a module of your own > > > > named "stat", which is getting imported instead of the one from the > > > > library? > > > > In article <c7c26e78-b786-4205-9ffa-5eb290064...@googlegroups.com>, > > DRJ Reddy <rama29...@gmail.com> wrote: > > > Even from command prompt i can't start python.The error is coming up.Python > > > in Windows7 box. > > > > I don't know Windows, but my guess is still that it's finding some other > > file called stat.py before it's finding the system library one. Try > > doing a file system search for all files named "stat.py" and see what > > you find. On unix, I would do "find / -name stat.py". I assume there's > > something similar on Windows. > > > > The other thing I would try is tracing the python process as it starts > > up. On unix, I would do something like "strace -e trace=file python" > > and see if it's finding a stat.py in some unexpected place. Again, I > > can only assume there's something similar on Windows. > > > > Oh, and please don't post with Google Groups. It double-spaces > > everything and makes your message really difficult to read.
I found a stat.py in python27/idlelib i haven't created one. -- http://mail.python.org/mailman/listinfo/python-list