Changeset be5e34b


Ignore:
Timestamp:
Nov 6, 2020, 11:13:35 AM (11 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
8fc652e0
Parents:
b5d51b0
Message:

Fixed stat.py to use python3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/stat.py

    rb5d51b0 rbe5e34b  
    1 #!/usr/bin/python
     1#!/usr/bin/python3
    22
    33import sys
     
    1717                avg = numpy.mean  (content)
    1818                std = numpy.std   (content)
    19                 print "median {0:.1f} avg {1:.1f} stddev {2:.1f}".format( med, avg, std )
     19                print("median {0:.1f} avg {1:.1f} stddev {2:.1f}".format( med, avg, std ))
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.