view ply-3.8/example/optcalc/README @ 8320:00a9aa124ede

<shachaf> ` (while true; do rm -f canary; echo yranac > canary; done) &
author HackBot
date Sat, 04 Jun 2016 06:21:32 +0000
parents 343ff337a19b
children
line wrap: on
line source

An example showing how to use Python optimized mode.
To run:

  - First run 'python calc.py'

  - Then run 'python -OO calc.py'

If working correctly, the second version should run the
same way.