0

This must be a duplicate but i couldn't find it...

I know there's a nifty way to tell how much time my program took:

import time

t0 = time.time()

program

print(time.time()-t0)

Is there a similar simple thing i can do to see how much space was used?

gaganso
  • 2,914
  • 2
  • 26
  • 43
Tim kinsella
  • 113
  • 6

0 Answers0