Skip to content
/ cs101 Public template

CS 101: Introduction to Computer Science

License

Notifications You must be signed in to change notification settings

jameshughes89/cs101

Repository files navigation

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.