Re: py vs pyc

2006-01-09 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: >> what is the difference between runing from cmd "python test.py" and >> "python test.pyc" > > When you run 'python test.py', the python interpreter first looks to > see if 'test.pyc' (which is the byte-code compiled version of > 'test.py') exists, and if it is more rece

Re: py vs pyc

2006-01-09 Thread mrmakent
Sakcee wrote: > what is the difference between runing from cmd "python test.py" and > "python test.pyc" When you run 'python test.py', the python interpreter first looks to see if 'test.pyc' (which is the byte-code compiled version of 'test.py') exists, and if it is more recent than 'test.py'.

.py vs .pyc

2006-01-09 Thread Sakcee
Hi all is execution of pyc files faster than py files? since both files are interpreted by python , is there any speedup in using one or other? what is difference if i type from cmd line, python test.py vs. python test.pyc thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: py vs pyc

2006-01-09 Thread Tomasz Lisowski
Sakcee wrote: > Hi > > I want to know that is .pyc files execute faster than .py files,? since > both are interpreted by python , is there any speedup in using one or > other.? > > e.g. > > what is the difference between runing from cmd "python test.py" and > "python test.pyc" > > > thanks >

Re: .py vs .pyc

2006-01-09 Thread Duncan Booth
Sakcee wrote: > is execution of pyc files faster than py files? since both files are > interpreted by python , is there any speedup in using one or other? > > what is difference if i type from cmd line, > python test.py vs. python test.pyc > There was no need to post your question twice. Pytho

py vs pyc

2006-01-09 Thread Sakcee
Hi I want to know that is .pyc files execute faster than .py files,? since both are interpreted by python , is there any speedup in using one or other.? e.g. what is the difference between runing from cmd "python test.py" and "python test.pyc" thanks -- http://mail.python.org/mailman/listi