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

Python not starting

2013-05-05 Thread rama29065
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 563, in main() File "C:\Python27\lib\site.py", line 546, in main known_paths = addsitepackages(kn

Re: The python not starting under cmd.exe

2008-08-15 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: H:\Dev\ImgOrder>ftype python.file python.file="C:\Python25\python.exe" "%1" %* But the start not working. And not only Python Program, but all start failed... In other machines the start "anything.xls", or "anything.html" or "anything.jpg" is working good, it is sta

Re: The python not starting under cmd.exe

2008-08-15 Thread [EMAIL PROTECTED]
Hi! nntpman68 írta: Did you try start test.py from the command line? Normally this tries to behave as if you clicked on the file from the explorer? bye The associations, filetypes are good: H:\Dev\ImgOrder>ASSOC .py .py=Python.File H:\Dev\ImgOrder>ftype python.file python.file="C:\Py

Re: The python not starting under cmd.exe

2008-08-13 Thread nntpman68
[EMAIL PROTECTED] wrote: Hi! My problem is that: The "test.py" is working in every machine that I use except in my home machine. Formerly it worked but now not. I don't know what happened, I searching for some solution. The errormessage is this (after I tried to start test.py under cmd.exe):

Re: The python not starting under cmd.exe

2008-08-13 Thread John Machin
On Aug 13, 6:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi! > > My problem is that: > The "test.py" is working in every machine that I use except in my home > machine. > Formerly it worked but now not. I don't know what happened, I searching > for some solution. > > The errormessage is

Re: The python not starting under cmd.exe

2008-08-13 Thread Ulrich Eckhardt
[EMAIL PROTECTED] wrote: > The "test.py" is working in every machine that I use except in my home > machine. [...] > c:\>test.py > A rendszer nem tudja végrehajtani a megadott programot. > > c:\> > > > Sorry for non english, I try to translate it: > "The system cannot execute the pro

The python not starting under cmd.exe

2008-08-13 Thread [EMAIL PROTECTED]
Hi! My problem is that: The "test.py" is working in every machine that I use except in my home machine. Formerly it worked but now not. I don't know what happened, I searching for some solution. The errormessage is this (after I tried to start test.py under cmd.exe): Microsoft Windows XP