Re: Python not starting

2013-05-06 Thread DRJ Reddy
> How did you get duplicate genericpath.pyc and stat.pyc files? > If they were duplicates, why didn't they have the right code in them? > It's probably not worth spending any more time investigating, but it is > still rather mysterious. > Steven When i was running idle on 4th of May,some error c

Re: Python not starting

2013-05-05 Thread Steven D'Aprano
On Sun, 05 May 2013 20:15:08 -0700, drjreddy7 wrote: > I am very happy to inform all of > you that the problem is solved. The problem was due to the prescence of > duplicates for genericpath.pyc and stat.pyc.I have deleted them and new > ones were generated as i started python. Thanking all of you

Re: Python not starting

2013-05-05 Thread Chris Angelico
On Mon, May 6, 2013 at 1:15 PM, wrote: > On Monday, May 6, 2013 3:59:01 AM UTC+5:30, Chris Angelico wrote: >> On Mon, May 6, 2013 at 4:15 AM, DRJ Reddy wrote: >> I did read and understood that while replying if > is there we will get a >> blank line unnecessarily. >> If you read that page, you'

Re: Python not starting

2013-05-05 Thread drjreddy7
On Monday, May 6, 2013 3:59:01 AM UTC+5:30, Chris Angelico wrote: > On Mon, May 6, 2013 at 4:15 AM, DRJ Reddy wrote: > I did read and understood that while replying if > is there we will get a > blank line unnecessarily. > If you read that page, you'll know that it does NOT advocate the total > e

Re: Python not starting

2013-05-05 Thread drjreddy7
import nt print nt.__file__ I have done above ones as you stated. I'm getting an error Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute '__file__' -- http://mail.python.org/mailman/listinfo/python-list

Re: Python not starting

2013-05-05 Thread Chris Angelico
On Mon, May 6, 2013 at 4:15 AM, DRJ Reddy wrote: > I did read and understood that while replying if > is there we will get a > blank line unnecessarily. If you read that page, you'll know that it does NOT advocate the total elimination of quoted text, which is what you've now done. Please don't.

Re: Python not starting

2013-05-05 Thread Andrew Berg
On 2013.05.05 13:55, Steven D'Aprano wrote: > (you might need to use /S on Windows instead, I'm not sure.) That is only a convention among Microsoft's CLI utilities. Very few others follow it (even for programs written specifically for Windows), and it is certainly not a necessity on Windows. --

Re: Python not starting

2013-05-05 Thread Steven D'Aprano
On Sun, 05 May 2013 06:43:25 -0700, rama29065 wrote: > I was using python from over an year and half.Suddenly from yesterday > i'm unable to run it. Well, the obvious question is, what did you do yesterday to change your system? Did you install any new packages? Run a Windows update? Delete so

Re: Python not starting

2013-05-05 Thread DRJ Reddy
I did read and understood that while replying if > is there we will get a blank line unnecessarily. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python not starting

2013-05-05 Thread Roy Smith
In article <9d2513ed-2738-4b6f-92af-82c1faa54...@googlegroups.com>, DRJ Reddy wrote: > > If you're using GoogleCrap� please read this > > > > http://wiki.python.org/moin/GoogleGroupsPython. > > > > > > > > Mark Lawrence > > Sorry for double spaced stuff,how can i get rid of it. I don't

Re: Python not starting

2013-05-05 Thread DRJ Reddy
Chris i have seen stat.__file__. It gives me 'C:\\Python27\\lib\\stat.pyc'. What should i do now. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python not starting

2013-05-05 Thread Chris Angelico
On Mon, May 6, 2013 at 1:11 AM, DRJ Reddy wrote: > On Sunday, May 5, 2013 8:30:59 PM UTC+5:30, Chris Angelico wrote: >> On Mon, May 6, 2013 at 12:16 AM, Roy Smith wrote: >> >> > In article , >> >> > DRJ Reddy wrote: >> >> >> Even from command prompt i can't start python.The error is coming >>

Re: Python not starting

2013-05-05 Thread DRJ Reddy
On Sunday, May 5, 2013 8:30:59 PM UTC+5:30, Chris Angelico wrote: > On Mon, May 6, 2013 at 12:16 AM, Roy Smith wrote: > > > In article , > > > DRJ Reddy wrote: > > >> Even from command prompt i can't start python.The error is coming up.Python > > >> in Windows7 box. > > > > > > I don't kno

Re: Python not starting

2013-05-05 Thread Chris Angelico
On Mon, May 6, 2013 at 12:16 AM, Roy Smith wrote: > In article , > DRJ Reddy 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 fi

Re: Python not starting

2013-05-05 Thread DRJ Reddy
On Sunday, May 5, 2013 7:56:58 PM UTC+5:30, Mark Lawrence wrote: > On 05/05/2013 15:00, DRJ Reddy 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>, > > >> > > >> rama29...@gmail.com wrote: > >

Re: Python not starting

2013-05-05 Thread DRJ Reddy
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 > > > > na

Re: Python not starting

2013-05-05 Thread Mark Lawrence
On 05/05/2013 15:00, DRJ Reddy 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>, rama29...@gmail.com wrote: I was using python from over an year and half.Suddenly from yesterday i'm unable to run it. The e

Re: Python not starting

2013-05-05 Thread Roy Smith
> 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

Re: Python not starting

2013-05-05 Thread DRJ Reddy
On Sunday, May 5, 2013 7:21:59 PM UTC+5:30, Roy Smith wrote: > In article <9ace60b8-a07d-41bc-ac9f-507f6c61f...@googlegroups.com>, > > rama29...@gmail.com wrote: > > > > > I was using python from over an year and half.Suddenly from yesterday i'm > > > unable to run it. > > > The error is as

Re: Python not starting

2013-05-05 Thread Roy Smith
In article <9ace60b8-a07d-41bc-ac9f-507f6c61f...@googlegroups.com>, rama29...@gmail.com wrote: > I was using python from over an year and half.Suddenly from yesterday i'm > unable to run it. > The error is as follows > Traceback (most recent call last): > File "C:\Python27\lib\site.py", line 5