On Mon, May 6, 2013 at 12:16 AM, Roy Smith <r...@panix.com> wrote: > 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.
Or alternatively, disable site.py by invoking python -S, and then manually import stat and see what its file is. ChrisA -- http://mail.python.org/mailman/listinfo/python-list