Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 504 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 504 Bytes

This repository contains Ahd exercises and handouts from learning Python at MITx 6.001 coursework

Running Scripts in this Repository

  • Running a plain Python script:
    • Simply run the script: $ python path/to/file.py
    • Print the program's trace to the console: $ python -m trace -t path/to/file.py
    • Count how many times each line is executed: $ python -m trace -c path/to/file.py
  • Run a file with Unit Tests: $ python -m unittest -c path/to/tests/test_file.py