[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
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'.
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
>
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