Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Python 0

Downloading Python

Windows

Installing Python on Windows 11 Video (2:15)

You can download Python for Windows from the official Python site

You can also use Python on Windows Subsystem for Linux. Here is a video walking through installing Python with pyenv in Ubuntu for Windows (6:03)

PyCharm

PyCharm is a great, free Python IDE which you can download form JetBrains

Installing PyCharm Community Edition on Windows 11 Video (2:37)

Linux

Python usually is installed with Linux. You can run it using the command python or python3 depending on your system.

Code Examples

hello.py

Video (1:30): A "Hello, world" program

indent.py

Video (5:09): Indentation is important in Python - its how we indicate code blocks. This video walks through some of the things you need to know about.

controlflowintro.py

Control flow fundamentals: conditionals (ternary operators), for loops, and while loops. Demonstrates dynamic typing and f-strings.

loc_counter.py

A practical example showing how Python can be useful for software engineers. This script recursively analyzes a directory of Python files and reports: total lines, code lines, comment lines, and blank lines.

Usage: python loc_counter.py [directory] (defaults to current directory)

Shows: File I/O, loops, string methods, command-line arguments, and the os module.