Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.1 KB

File metadata and controls

55 lines (39 loc) · 1.1 KB

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 -e .

Bash

python3 -m venv --clear --prompt cs101 venv
. venv/bin/activate
pip install -e .

Project CLI Scripts

Command Description
format Automatically format Python and Markdown files
verify Check for code style, RST issues, and spelling errors
links Check URLs in the site for broken or redirected links
site Build the course website to out/

Run project unit tests with the following

python -m unittest # May need python3

Contribute

Check out the CONTRIBUTING guidelines.