Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 778 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 778 Bytes

ET Cohort 6: Social Coding

This repository contains starter code and resources for Social Coding workshops covering 1-off fun subjects like generative art, coding competitions, code reading sessions or pseudocoding.

Running Python Files 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:
    • as a script:$ python -m unittest path/to/tests/test_file.py
    • as a module:$ python -m unittest path.to.tests.test_file

MIT Emerging Talent Logo