Welcome to the Ultimate Beginner's Python Course.
Are you new to programming? Embark on your Python adventure with a comprehensive course designed exclusively for beginners. Get ready to grasp the essential building blocks that will ignite your Python prowess and set you on the path to success.
What to Expect:
Welcome to the Ultimate Beginner's Python Course.
Are you new to programming? Embark on your Python adventure with a comprehensive course designed exclusively for beginners. Get ready to grasp the essential building blocks that will ignite your Python prowess and set you on the path to success.
What to Expect:
Explore a hands-on, immersive approach to Python learning that's practical and engaging. Dive into the fundamentals of programming, understand why Python is the perfect starting language, and develop a solid foundation in coding. Delve into data storage, manipulation, control flow, loops, functions, file handling, and error management. Harness the power of key Python modules to supercharge your skills. Conclude by crafting impressive portfolio-worthy mini and full-scale programs.
Course Highlights:
25+ coding assignments
20 quizzes to assess your knowledge
3000+ lines of reference code
3 interactive 'stop and code' sessions for problem-solving
Real-world 'job-interview' style questions
Continuous coding exercises through video 'pause and code' moments
Why Choose This Course?
This tailor-made course caters to absolute beginners, focusing on mastering the basics. You'll gain a strong foundation, priming you for college, school, career, or just coding for fun. With over 5 years of lecturing experience and 3000+ hours of online tutoring, I have distilled the best methods and techniques for success.
Course Syllabus:
- Discover why Python is the ideal first language and its unique differentiators
- Seamlessly install Python and run your inaugural program
- Optimize your coding experience with Visual Studio Code
- Choose between console work and Python scripting
- Grasp variables: strings, floats, integers, and booleans
- Navigate control flow and decision-making structures
- Master collections: lists, tuples, dictionaries, and sets
- Conquer loops: for loops and while loops
- Embrace functions: both built-in and user-defined
- Tackle errors, preventing them from derailing your code
- Interact with the file system: read, write, and edit files
- Leverage Python's built-in modules for system exploration, time manipulation, and randomness integration
Unlock Your Coding Potential:
Culminate your learning journey by collaboratively constructing three step-by-step programs with a focus on best practices, clean code, and design principles.
1. Encryption & decryption program
2. Word frequency counter
3. Personalized greetings generator
Launch Into the Next Level:
Conclude by crafting two substantial programs, supported by industry-standard, well-documented code. The expert guidance will lead you through planning, developing and testing the following two programs:
1. A Higher & lower guessing game
2. An Interactive maths quiz with adjustable difficulty
Enroll Today and Ignite Your Coding Passion.
Hello and welcome to the course!
A brief video which outlines how to navigate the sections, quizzes and coding assignments.
In this video we will take a look at what a program actually is, and how the computer processes Python code. We will also discuss high level vs low level languages.
Testing the basic understanding of what a program is
In this video we discuss the origins and history of Python, and give a brief introduction to some of the modules that come as standard.
A small quiz to test your knowledge on the python basics
In this video, we take a look at the Python website and downloading + installing Python. Once installed we will then run our very first program!
In this video we will install Visual Studio Code, which we will be using as our development environment from now on.
In this lecture we will discuss probably the most commonly used function in Python, the print function!
Comments are a way to annotate your code, and temporarily stop sections of code from running. This lecture discusses how to best use comments to your advantage.
Check your understanding of printing and use of comments
Variables are the absolute foundation of storing data within your code, in this lecture we discuss how variables work in Python and how they are defined + redefined.
In this lecture we will introduce the 4 basic data types in Python - Strings, Integers, Floats and Booleans.
In this lecture we will look at strings, which is the main way in which we will store textual data.
In this lecture we will look at how to define and use numbers in Python. Integers are whole numbers, and floats are decimal numbers. Understanding the difference is important!
In this video we briefly introduce the concept of a Boolean which is a way In which we can store True/False values.
Test your knowledge with the basics of variables
In this session on strings we look at how to access a specific character within a string using indexing. Indexing is also used with other data types in Python.
In this session on strings we naturally follow on from indexing with slicing. Slicing allows us to access multiple indices, rather than just one.
Catching user input allows our programs to take input from who ever is running them. In this lecture we discuss how this is done, and the precautions we need to consider.
There are many built-in functions in Python, such as print(). Many built-in functions work with strings, and in this lecture we review and use these functions to see what they can do.
String methods are tools that specifically belong to the string class, and in this session we look at some of the most commonly used string methods (Part 1).
In the final lecture on strings we look at formatting, which is a way of putting data from variables into our strings.
The basics of strings
A quiz on string methods.
String methods are tools that specifically belong to the string class, and in this session we look at some of the most commonly used string methods (Part 2).
In this lecture we introduce the various mathematical operations in Python which allow us to add, multiply, divide and much more!
In the final lecture in this section we look at the int(), float(), and str() functions which we will be using to convert between the 3 data types we have seen thus far.
A quick test on integers and floats.
In this lecture we will be looking at the comparison operators to evaluate the True/False value of expressions. Much of this will be directly related to the work on Control Flow, later in the course.
A quick quiz to assess your understanding of how a statement is either ‘True’ or ‘False’.
In this video we look at what control flow is, and why its so important in programming.
In this video we explore the most basic component of control flow which is the 'If statement'. This is where we can make a piece of code run if a certain condition is present.
In this video we explore the 'Else statement' which provides an alternate route for control flow, for when the if statement's condition is False.
In this video we introduce the "Elif statement" which site in between "If" and "Else" and allows for more complex control flow.
A nested "if statement" is one that is inside of another "if statement" and we introduce the syntax and benefits of these in this video.
In this small bonus video, we will look at conditional expressions... Essentially a one line if-else!
So far we have looked at single pieces of data such as names, numbers and booleans. In this video we introduce the concept of collections which is where we store multiple pieces of data in one variable.
Python has 4 main collection types, and in this video we introduce them and take a basic look at what they can do.
In the first video in this section we look at how to create Lists and Tuples, and look at the basic differences.
Remember Indexing & Slicing for strings? The exact same principles apply here too!
In this video we look at a range of built-in functions that can accept lists & tuples as their inputs, and we look at what these functions can be used for.
Adding to lists is a fundamental part of programming, and in this video we discuss the 3 methods which do this, and compare their uses.
In this video we look at how the Reverse and Sort methods can be used to rearrange a list.
The Count and Index methods are the only methods that work with both lists and tuples, and are useful for showing information about the contents of the lists & tuples.
In this quick video we take a look at the list.copy method.
Pop, Clear & Remove are 3 methods used to discard elements from a list, and this in video we discuss their different use cases.
Lists inside lists? We call this a nested list, and these are useful for representing 2-dimensional structures. In this video we look at how to create and interact with them.
A quiz to test your knowledge on the different list methods.
In the first video in this section we take a look at why dictionaries are so amazing! Then we have a quick look at making your first dictionary.
So far we have been using indexing & slicing to access items, but dictionaries are different! We use 'Keys' to access values and in this video we break this down and explain how it works.
These 3 methods can be used to return a dynamic view of the current state of the dictionary keys, values and items, and we explain how it works in this video.
Safely setting and retrieving keys & values is important to ensure your code doesn't crash. In this video we take a look at methods to do this.
Just like how we can remove items from a list using its methods, there are also 2 dictionary methods that can be used to remove items, and in this video we explore how they work.
A nested dictionary looks intimidating at first but fear not! We look at how it works in this video and explore the real life use cases such as JSON formatted data.
The dictionary update method is a really neat way to update the contents of a dictionary with the contents of another, and we explore the idea in this video.
A quiz to test your knowledge on the different dictionary methods. For consistency the same dictionary will be used throughout the 5 questions.
In the first video in this section we take a look the fundamentals of Sets, and some of the interesting behaviours they exhibit.
In this session we take a look at some basic Set Theory, which is helpful in understanding the concepts shown in the next 3 videos.
In this video we look at 2 commonly uses set operations, Union & Intersection.
In this video we look at 2 commonly uses set operations, Difference & Symmetric Difference.
In this video we look at set membership checks with the subclass and superclass methods.
In this video we look at methods which handle adding & removing elements to/from sets.
A quiz to test your knowledge on the different set methods.
A small quiz to test basic knowledge on Set Theory
In this video we briefly outline the differences between the two types of loops in Python.
In this video we introduce a basic while loop, and how to build them.
Following on from the previous video we introduce 2 new keywords 'break' & 'continue' which allow us to control the behaviour of the while loop.
Iterating over a string, list or tuple is a key part of programming and in this longer than usual video we take a look at how this is done and discuss the possibilities of what this can do for you.
The For loop can be used in tandem with the range function to make a block of code repeat a set number of times, and we explore this concept In this video.
Dictionary iteration is more complex as we have to choose which part of the dictionary we'd like to iterate over, and in this video we discuss how to iterate correctly.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.