Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 927 Bytes

README.md

File metadata and controls

60 lines (42 loc) · 927 Bytes

cs101

CS 101: Introduction to Computer Science --- Python

The course can be found here

Your typical CS101 class covering:

  • Types
  • Variables
  • I/O
  • Functions
  • Conditionals
  • Loops
  • Objects
  • Linear collection (List)

Setup

Windows

Have administrative privileges and run from cmd

python -m venv --clear --prompt cs101 venv
venv\Scripts\activate.bat
pip install --upgrade pip setuptools wheel
pip install --editable .

Bash

python3.11 -m venv --clear --prompt cs101 venv
. venv/bin/activate
pip install --upgrade pip setuptools wheel
SETUPTOOLS_ENABLE_FEATURES="legacy-editable" pip install --editable .

Formatter

format # just type this

Unit Tests

python -m unittest # May need python3

Build

sphinx-build -b html "$SOURCEDIR" "$OUTPUTDIR"

Contribute

Check out the CONTRIBUTING guidelines.