0% found this document useful (0 votes)
6 views

1.1 Python Starter Pack Course Overview

This document provides an overview of the Python programming language including how to set up the environment, variables, data types, operators, statements, functions, modules, file input/output, classes, and a final project. It covers the basics of Python to get started with the language.

Uploaded by

Jovan Jovic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

1.1 Python Starter Pack Course Overview

This document provides an overview of the Python programming language including how to set up the environment, variables, data types, operators, statements, functions, modules, file input/output, classes, and a final project. It covers the basics of Python to get started with the language.

Uploaded by

Jovan Jovic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Python Starter Pack

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

You might also like