Learn to code with an Introduction to Python 3
What you'll learn
- The basics of the python programming language.
- How to code.
- How to think critically and think like a programmer.
- How to write code and markdown in Jupyter Notebooks.
- Setting up Pycharm IDE and Virtual Environments
- Control Flow in Python
- Data Structures in Python
- Functions in Python
- Classes in Python
- Basic computer knowledge
- Patience and willingness to learn.
This course is for beginners who are interested in learning to code. This course begins with teaching Python 3 in an interactive style through the use of Jupyter Notebooks. You will also learn to write programs within the integrated development environment (IDE) Pycharm.
In the setup videos for the course you will be told how to access the Github Repo which has all the content for the course additional to the videos hosted on Udemy. This additional content contains all the Python code files, the practice questions and solutions, as well as all the material in a nicely formatted online book.
Chapter 1: Intro To Python
numerical data types (integers and floats)
string formating with f-strings
indexing and slicing strings
getting input from a user
Chapter 2: Control Flow
boolean data type (True and False)
comparison operators (==, !=, >, <, >=, <=)
logical operators (and, or, not)
membership operators (in, not in)
if, elif, and else statements
indexing and slicing
getting length of a list with len()
appending to a list with append() and extend() methods
list concatenation with + operator
intro to mutable and immutable objects
for loops and while loops
break and continue and pass statements
more Python basic operators
+=, -=, *=, /=
Chapter 3: Functions
What are functions and why do we use them?
Examples of functions that are built into Python.
Defining your own functions.
Local and global scope
Chapter 4: Data Structures
more list methods
keys and values
ways of iterating over dictionaries
using *args and **kwargs in function definitions
Chapter 5: Virtual Environments, Packages, Pycharm IDE
importing libraries in your Python code with import statements
creating virtual environments for projects
installing packages/libraries into those projects with pip
creating your own modules for importing
Setting up an integrated development environment (IDE) with the use of the popular IDE, Pycharm
Chapter 6: Truthy and Falsy Values, None Value, Exception Handling, Reading and Writing Files
Truthy and Falsy values
The None value
About different Python errors and how to do exception handling with try and Except
How to read data from a file and write data back to a file
Chapter 7: Intro to Classes and Object Oriented Programming
defining and creating classes
instantiate an object from a class
instance methods and attributes
class methods and attributes
subclassing and inheritance
Who this course is for:
- Anyone looking for an introduction to coding.
- Anyone looking for an introduction to python programming language.
- Anyone looking for some foundations in Python so they can then look into more advanced topics after learning the basics.
I left the world of academia for a career in data science. Through years of industry experience I have developed skills as a full stack data scientist in the areas of data engineering, machine learning, data visualization, and productizing data science models. More recently I have been working as a research scientist with a focus on computer vision and deep learning.
I have experience teaching thousands of students in mathematics at the university level as well as thousands of students on Udemy in areas like math, SQL, and coding. I love to learn and teach others what I am learning.
I enjoy hanging out with my wife and three kids, playing guitar, playing basketball, biking, and learning.