Python NSCC
Home
(current)
Resources
Student Pages
Python
SQL
JS
Java 1
Java 2
Data Structures
C#
Introduction to GIT
What is Git
Install and Configure Git
What is GitHub
Creating a Gihub Account
Accepting an Assignment
Cloning an Assignment
Doing the Assignment
Add Commit Push
Grading-Evaluation
Recap
Chapter 1 - Introduction to Python Programming
Videos
Intro to Python
Installing Python
Playing with IDLE
Assignments
Print a Poem
Syllabus Quiz
Due: Aug 24
Chapter 2 - Writing Your First Programs
Videos
Design a Program
Intro to Print Function
Comments
Variables
Input Function
Math Expressions
String Concatenation
More Print Function
f-Strings
Named Constants
Assignments
Joe's Marbles
Getting Started on CPX
Due: Aug 29
Chapter 3 - Control Structures
Videos
Control Structures - If
If Code Demo
If-Else Statements
Comparing Strings
Nested Decision Structures
If-Elif-Else Statements
Logical Operators
Boolean Variables
Assignments
Work Days
CPX - Boolean Inputs
Due: Sep 5
PyCharm - A Better IDE
Videos
Installing PyCharm
PyCharm Make a Project
PyCharm Open Existing
Using Git in PyCharm
Chapter 3 - Control Structures (Continued)
Videos
Repetition - While Loops
Simple For Loop
For Loops with Range Function
Accumulator Variable for Totals
Loops for Input Validation
Assignments
Jane's Stuff Store
CPX - Back and Forth LED's
Quiz Chapters 1-3
Due: Sep 12
Exam 1
Assignments
In Class
Due: Sep 19
Chapter 4 - How to Work with Functions
Chapter 5 - How to Test and Debug a Program
Videos
Intro to Functions
Types of Functions
Defining and Calling Functions
Function Examples
Debugging Tools with Functions
Designing a Program to Use Functions
Local Variables
Arguments and Parameters
Pass Arguments by Value
Keyword Arguments
Global Variables and Constants
Value Returning Functions
Importing Modules
Random Module
Random Examples
IPO Charts and Other Return Types
Math Module
Making Our Own Modules
Conditionally Executing Code in a Module
Menu Driven Program using Modularization
Assignments
Temperature Converter
Debugging Lab
CPX - Pixel Functions
CPX - Measuring Light
Due: Sept 26
Chapter 6 - How to Work with Lists and Tuples
Videos
Intro to Sequences and Lists
Iterating Over Lists
Mutating (Changing) Lists
Slicing Lists
The 'in' Operator
List Append, Insert, Remove, Delete
More List Methods - Index, Sort, Min, Max
Copy a List
List Processing - Example
List Totals and Averages
Passing and Returning Lists
Random Items from Lists
Lists with Files
List Comprehension
Two-Dimensional Lists
Tuples
Matplotlib Line Graphs
Matplotlib Bar Graphs
Matplotlib Pie Charts
Assignments
Restaurant Sales
Plotting an Equation
CPX - Light Pattern 1
Due: Oct 3
Chapter 7 - How to Work with File I/O
Chapter 8 - Handling Exceptions
Videos
Intro to Files
Writing Files
Reading Files
Appending to a File
Writing Numbers to Files
Using While Loops to Read Files
Using For Loops to Read Files
Another File Read with Loop Example
Processing Records
Deleting Records
Exceptions
Try-Except Example 1
Try-Except Example 2
Try-Except Example 3
Finally and Else Suites - A Corretion
Assignments
Personal Info File
CPX Light Pattern 2
Quiz Ch 4-6
Due: Oct 10
Chapter 9 - Working with Numbers
Chapter 10 - Working with Strings
Videos
Strings Intro
Processing Strings with For Loops
Count Letter Occurences in a String
String Concatenation and Immutability
String Slicing
Testing Strings with 'in'
String Testing Methods
String Modification Methods
Search and Replace Substrings
Password Checker Example
Splitting/Tokenizing Strings
Processing CSV Files
Ch8 Lab 2 Hints
Assignments
Name Processing
File Processing
Due: Oct 17
Exam 2
Assignments
Exam -In Class
Quiz Chapters 7-10
Due: Oct 24
Chapter 12 - Working with Dictionaries
Videos
PEP8 and the Yellow Squiggles
Dictionary Basics
Dictionary Methods
Dictionary Comprehension
Set Basics
Set Operations
Subsets and Supersets
Set Comprehension
Serialize (Pickle) Data
Assignments
State Capitals
Unique Words
Weather App
Due: Oct 31
Chapter 14 - Defining Classes
Videos
Intro to OOP
A Basic Class - Dog
Refining the init Method
Data Hiding - Getters and Setters
More Revisions and Methods
Processing Objects with Lists
UML for the Dog Class
Class Properties
Dataclasses
Assignments
Vehicle Class
Computer Class
CPX Lights and Sound
Due: Nov 7
Chapter 15 - Inheritance
Videos
Inheritance Intro
Private or Not Really Private?
Inheritance Example - Birds
Inheritance Example - Vehicles
Polymorphism
Assignments
Employees-Polymorphism
Classes with CPX Part 1
Due: Nov 14
Chapter 13 - Recursion
Videos
Recursion
Assignments
Repeating Characters
Classes with CPX Part 2
Quiz Ch 12, 14 & 15
Due: Nov 21
Chapter 18 - GUI Programming
Videos
Intro to Tkinter
Import Tkinter
Tkinter Window and Labels
Tkinter Frames
Tkinter Buttons
Tkinter Entry Widget
Tkinter Label for Output
Planning a GUI Application
Tkinter Radio Buttons
Tkinter Check Buttons
Tkinter Canvas
Assignments
Feet to Inches GUI
Due: Dec 5
Final Exam
Assignments
Final Exam - In class
Due: Dec 12