view ply-3.8/example/optcalc/README @ 11375:006d8b433a3c

<shachaf> sled bin/forget//s/"$/& \\&\\& \\\\/
author HackBot
date Wed, 28 Feb 2018 02:01:05 +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.