Warning: this post contains arcane knowledge.
Steve Holden wrote:
> praba kar wrote:
>> Python 2.3 creates byte code with *.pyc
>> extention. But Python 2.4 creates bytes code with
>> *.pyo. Is there any difference between *.pyc
>> and *.pyo?.
>>
> Yes. The .pyo files are optimized by remo
praba kar wrote:
> Dear All,
>
> Python 2.3 creates byte code with *.pyc
> extention. But Python 2.4 creates bytes code with
> *.pyo. Is there any difference between *.pyc
> and *.pyo?.
>
Yes. The .pyo files are optimized by removing certain features that
aren't essential to execution (t
praba kar wrote:
> Python 2.3 creates byte code with *.pyc
> extention. But Python 2.4 creates bytes code with
> *.pyo. Is there any difference between *.pyc
> and *.pyo?.
Since way back, ordinary Python bytecode uses .pyc,
and optimized Python bytecode (python -O) uses .pyc.
This has noth
Dear All,
Python 2.3 creates byte code with *.pyc
extention. But Python 2.4 creates bytes code with
*.pyo. Is there any difference between *.pyc
and *.pyo?.
Actually After python compiled a program
then that program will run from the *.pyc byte
code. If I delete that byte code what