1.1 Python Starter Pack Course Overview
1.1 Python Starter Pack Course Overview
By Rushdi Al-Hasan
What is python
● Created in the late 1980s
● Object Oriented language
● Interpreted language
● Dynamically Typed
Setup Environment
● How do you setup the environment for Python?
● What text editor do I use?
● HelloWorld.py
Variables
● Important in order to understand how data is stored
● Variables in Python have a strict naming convention
Data Types
● A way to classify values that are stored in variables
● Each data type has specific operations that can be performed on them
● Numeric
● Booleans
● Strings
● Collections
Operators
● Allow you to perform specific operations on variables and their values
● +
● -
● /
● *
Python Statements
● Iterators:
○ While loop
○ For loop
● Conditional statements:
○ If
○ Else
○ Elif
Functions
● Block of code that only runs when it is invoked
● You can pass parameters and return data
● Local and global scopes
Modules
● Like a library
● Helpful for creating tools
● Code reusability
File I/O
● Read in data
● Manipulate data
● Writing data back out
Classes
● Think of classes like a blueprint for an object.
○ Example: A student has a student id and grades. So a class can contain the student id and
grades associated with that student id
● Inheritance
Final Project
● Will do together
● I will provide necessary files
Exercises
● Multiple exercises, quizzes, tests throughout this course
● Will provide you with notes for lectures as class extras