
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore Python as a beginner-friendly programming language used in web development, artificial intelligence, data science, and infrastructure automation. Learn its history from Guido van Rossum to installing and writing code.
Explore python features: simple and easy to learn syntax, free and open-source software, platform independence, and compatibility with java via jython across mac, linux, and windows.
Install Python from python.org by selecting the correct download for your operating system, such as Windows, then run the installer to complete setup.
Launch Python in interactive shell mode for quick one-liners, or switch to script mode for multi-line programs; identifiers are names with letters, numbers, and underscores, and Python is case sensitive.
Discover Python reserved words and keywords, why they cannot be used as variable names, and how case sensitivity distinguishes True, False, None from other lowercase keywords; explore keyword.list.
Explore Python data types such as integers, strings, floats, and booleans, and use the type function to identify an object's category. Also preview lists, tuples, sets, and dictionaries.
Explore string indexing in Python to access characters using square bracket notation, with positive and negative indexing that starts from zero and from the end, including first characters.
Explore how the plus operator performs string concatenation in Python and how the asterisk operator enables string repetition, clarifying string concatenation versus numeric addition.
Learn how the input function collects user numbers at runtime, avoid hard coding, and use typecasting with int(input(...)) to convert strings to integers for correct numeric addition.
Explains slicing in Python by using start, stop, and step values to extract character groups from a string, with forward and backward directions demonstrated through examples.
Explore Python slicing with start, end, and step to extract substrings, including negative indices and default behaviors. Learn to reverse strings using [::-1].
Learn how arithmetic operators perform addition, subtraction, division and exponentiation on numbers; understand the difference between integer and float division, why results may be float, and how modulus returns remainders.
Master the Pemdas rule in Python by understanding parentheses, exponential, multiplication, division, addition, and subtraction, the order of evaluation, and that division can precede multiplication when it appears first.
Learn how conditional statements in Python govern code flow using if, else, and lf, with examples comparing two numbers to determine the greater value.
Explore lists in Python by storing multiple elements, including heterogeneous and homogeneous types, and learn indexing, creation with square brackets, and operations like append, insert, pop, remove, extend, and sort.
Explore immutability versus mutability in Python, showing how immutable types like strings create new objects when changed, while mutable types like lists can be modified in place.
Explore the tuple data type in Python, its immutability versus lists, how to declare tuples with parentheses or commas, and use of count, sorted, and tuple concatenation to manipulate data.
explore dictionaries in Python to store key-value pairs, access values by keys, and modify dictionaries by adding entries, while using keys() and values() to inspect content.
Explore Python loops, including while and for loops, and learn how to execute a group of statements multiple times until a condition is met.
Demonstrates how a while loop runs while a condition is true in Python, using i = 1 and i < 3, with i updated until the condition becomes false.
Demonstrate how an infinite while loop occurs when i is not incremented while i is less than three, printing 1 repeatedly in Python. Learn to terminate it with ctrl-c.
Explore how Python for loop uses range with start, end, and step to iterate; for example range(1, 10, 2) prints 1, 3, 5, 7, 9 and uses in and indentation.
Learn to define and call Python functions, including built-in and user-defined ones, with or without parameters using def, and run them by calling with parentheses.
Define a user defined function with parameters in Python, pass arguments when calling it, and use multiple parameters to print the provided values.
Clarify the difference between parameters and arguments, and explain how the return keyword exits a function, returns a value, and how printing reveals the returned value or none.
Learn about positional arguments in Python functions by passing values in order to match function parameters, with the first value assigned to name and the second to age.
Explore keyword arguments by passing values via parameter names, see how to mix with positional arguments, and learn that positional arguments must come first.
Define functions with default parameter values, call them without arguments, and overwrite defaults by passing keyword arguments such as name equal to Bob and age equal to 50.
Explore function arguments in Python, including positional, keyword, and default values, with examples showing correct and incorrect ordering and how defaults can be overridden.
Explore global and local variables in Python, and learn how scope depends on where a variable is declared, including how global variables are accessed inside and outside functions.
Declare and modify a global variable inside a function with the global keyword, ensuring x is accessible globally and can change from 10 to 20 across scopes.
Explore how globals() helps access a global x inside a function alongside a local x, demonstrating that 20 (local) and 10 (global) can be printed.
Explore how recursive functions call themselves, illustrated by the factorial example, and distinguish them from loops through base cases that stop recursion.
Discover exception handling in Python with try and except blocks. See how to gracefully handle errors, such as zero division, and display user-friendly messages instead of raw error output.
Explore exception handling in Python by using a try block with multiple except blocks to distinguish zero division errors from type errors.
Explain the finally keyword in Python, showing it always runs after try and except for cleanup, with examples like a zero division error and closing a database connection.
Explore the else block in Python, a friend to the try block that executes only when no errors occur, while finally runs after try/except regardless of errors.
This lecture outlines the Python exception hierarchy, from the base exception class to arithmetic error and zero division error, showing where syntax, IO, name, and index errors fit.
Explore how the order of except branches determines which error prints, from zero division error to its base class arithmetic error, illustrating Python's matching of the most specific block.
Explore how except block order determines which error runs, and how Python’s case sensitivity requires capitalized exception names; capture the error with as e to print the specific exception. Understand the exception hierarchy, where base exception underlies subclasses like arithmetic error and zero division error.
Are you interested in harnessing the power of Python programming but don't have any coding experience? Look no further! Welcome to " Certified Entry-Level Python Programmer -PCEP"
This course is specifically designed to introduce non-coders to the world of Python programming. Whether you're a business professional, a creative artist, or an entrepreneur, this course will provide you with the essential foundations to excel in Python.
Create a sample Django project in less than 30 mins.
In this beginner-friendly course, you will dive into the world of web development using Django, a high-level Python web framework that encourages rapid development and clean, pragmatic design.
Hands-on learning: Throughout the course, you'll be building a fully functional web application, reinforcing your understanding of Django concepts.
Prerequisites:
Basic Computer Skills: Familiarity with using a computer, browsing the internet, and downloading files is required.
Basic Programming Knowledge (Optional): While not mandatory, some familiarity with programming concepts can be helpful for better understanding the course material.
Required Software and Tools:
Computer: A reliable computer with a modern operating system (Windows, macOS, or Linux).
Internet Connection: High-speed internet access is recommended for smooth streaming and downloading of course materials.
Web Browser: Any modern web browser such as Google Chrome, Mozilla Firefox, or Safari.
Code Editor: Install a code editor of your choice. Recommended options include Visual Studio Code.
Appropriate Mindset and Commitment:
Eagerness to Learn: Come with a positive attitude and an eagerness to learn new concepts and techniques.
Patience: Learning a new skill takes time, so be patient with yourself and don't hesitate to review sections if needed.
Active Participation: Engage with the course content actively by taking notes, asking questions (if available), and applying concepts in practical scenarios.
By the end of this course, you'll have gained the confidence to tackle Python projects independently. You'll be equipped with the skills needed to automate processes, solve problems, and unlock new possibilities in your personal and professional life.
Enroll now and embark on an exciting journey to become a proficient Python programmer, even if you've never written a single line of code before. Join us and discover the incredible potential Python has to offer in the digital age.