Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python For Beginners : Quick Start Guide to Python 3
Learn Python 3 For Beginners - Course Introduction
Welcome
Topics covered in this course
Install Anaconda, Python, and Visual Studio Code on macOS
Install Anaconda, Python, and Visual Studio Code on Windows
[Previous setup] Installing Python & my IDE
Python Basics
A simple introduction to variables
An introduction to strings
How to concatenate strings & variables
The .title() method
The find() method
The lower() method
The replace() method
Removing whitespace using Pyton's strip methods
How to add a tab or new line to your programs
Numbers in Python
Integers
Floats
The Numbers Quiz
How To Convert Numbers To Strings
Comments
Comments
Python lists
Creating Lists
Editing Lists
Adding comments to our code
The pop() method
Organising a list
Finding the length of a list
Looping through a list
Numerical lists
The range() function
Creating a list of numbers
Slicing a list
Looping through a slice
Copying a list
The Lists Quiz
Indentation
Indentation
Tuples
Tuples
The Input Statement
Getting input from a user
Branching and Conditions
The if statement
Conditional tests
Checking for inequality
Numerical comparisons
The and condition
The or condition
The in keyword
The not in keyword
Using the if elif else chain in a simple program
Checking for multiple conditions
The if statement with lists
Working with multiple lists
The conditional quiz
Python Dictionaries
What is a dictionary?
What's going on inside a dictionary?
The in operator
The get() method
Editing values in a dictionary
Looping through a dictionary
Other ways to loop through a dictionary
Using a dictionary in a list
Using a list in a dictionary
The Dictionary Quiz
More about the input prompt
Storing prompts in variables
While Loops
An introduction to while loops
How to quit a program
How to use a flag
The break statement
The continue statement
Using lists in a while loop
Removing all instances from a list
Using a dictionary with user input
Python Functions
An introduction to functions
How to pass information to a function
Passing arguments to a function
Working with positional arguments
Keyword arguments
Using default values
Returning a value
Making an argument optional
How to return a dictionary
Functions with a while loop
Passing a list to a function
Modifying a list in a function
Preventing a function from modifying a list
Passing an arbitrary number of arguments part 1
Passing an arbitrary number of arguments part 2
Mixing positional and arbitrary arguments
Using arbitrary keyword arguments
How to import a full module
How to import specific functions
How to use functions with an alias
Giving a module an alias
Importing all functions in a module
Python Classes
An introduction to classes
Creating our book class
Using the init method
How to make an instance of a class
How to access attributes
How to call a method
Creating multiple instances
Working with classes and instances
Setting a default value for an attribute
Directly modifying an attributes value
Modifying an attributes value through a method
Incrementing an attributes value through a method
Inheritance
Defining attributes and methods for a child class
Overriding methods from the parent class
Instances as attributes
Importing a single class
Storing multiple classes in a module
Importing multiple classes from a module
How to import an entire module
Using all classes from a module
Working with files
An introduction to working with files
How to read an entire file
Working with file paths
Reading a file line by line
How to create a list from a file
Working with the contents of a file
How to write to an empty file
How to append to a file
Exceptions
An introduction to exceptions
The ZeroDivisionError
Using a try except block
How to handle exceptions
The FileNotFound error
Files Part 2
Analysing text in a file
Working with multiple files
How to fail silently
Storing data with json dump function
Loading data with json load method
How to store and read user data
Refactoring
Refactoring
Testing your code
How to test your code
Conclusion
Conclusion
How to concatenate strings & variables
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock