view ply-3.8/example/optcalc/README @ 11950:2b46edb21685 draft

<ais523> ` printf \'#include <stdio.h>\\nint main(void) { float C = 4.0; printf("%f", C/C++); }\' | gcc -Wall -Wextra -x c /dev/stdin
author HackEso <hackeso@esolangs.org>
date Thu, 19 Sep 2019 17:55:31 +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.