view ply-3.8/example/optcalc/README @ 12253:ad5c5d1b7d04 draft

<oerjan> t sled lib/karma//s/egrep.*>/egrep -x \'<[^>]*>/
author HackEso <hackeso@esolangs.org>
date Fri, 06 Dec 2019 07:53:22 +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.