Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python 3 Crash Course
Rating: 4.4 out of 5(469 ratings)
13,955 students

Python 3 Crash Course

A high intensity Python 3 crash course for existing programmers who want to learn Python
Created byKalob Taulien
Last updated 5/2020
English
English [Auto],

What you'll learn

  • How to use Python 3
  • How to install Python
  • How to execute Python files
  • Python 3 math, variables, syntax, and comments
  • Python 3 common data types, indexing, formatting, and files
  • Python 3 list comprehensions, loops, and functions
  • Python 3 packages, classes (OOP) and try/except

Course content

2 sections24 lectures58m total length
  • Where is Python Used?1:56

    Explore where Python is used across machine learning, artificial intelligence, data science, websites, video games, desktop programs, and databases, with examples like Google, YouTube, Instagram, and the Django framework.

  • Installing Python0:38

    Visit python.org, click downloads to download the latest version for your Linux, Windows, or Mac system, then install.

  • Running Python Files1:17

    Learn how to run Python files by invoking python file.py on the command line, using your preferred terminal, and view a hello world output.

  • Python Shell1:05

    Explore the python shell, an interactive environment you reach from the command line by typing python, enter code like 5 + 11 or print hello fella, and exit with exit().

  • Basic Math1:43

    Explore basic math in Python by performing addition, subtraction, multiplication, division, exponentiation, and modulus to find remainders in simple code examples.

  • Variables1:02

    Explore variables as named pieces of data stored in memory, show how Python assigns memory to a value, enables accessing and printing by name, and reveals the value's string type.

  • Indentation1:57

    Explore Python indentation as the primary block structure, with colons and indentation instead of curly braces, and learn to configure an editor to map tabs to four spaces.

  • Interactive Python0:50

    Dive into interactive Python by installing Python, launching the interpreter, and enjoying syntax highlighting and indentation as you run and refine code.

  • Data Types6:04

    Explore core Python data types, including strings, lists, dictionaries, tuples, sets, and booleans, and learn mutability rules and practical usage.

  • Indexing2:48

    Master Python indexing by pulling characters from strings and items from lists using zero-based positions and colon-based slicing to show ranges and end-of-list behavior.

  • Comments1:05

    Learn how to comment in Python using two primary ways: lines starting with # and docstrings for functions; document code with triple quotes or apostrophes that wrap the function body.

  • String Formatting2:56

    Explore Python string formatting, including the format method and f-strings, and compare older percent-style formatting across Python 3.5 and 3.6+. Learn how to inject variables into strings.

  • Files3:29

    Demonstrate creating, writing, reading, and appending to files in Python using with open and a file handler, closing and handling newlines with slash n in the Python 3 crash course.

  • Comparison Operators (Conditionals)5:18

    Explore comparison operators and conditionals in the Python 3 crash course by using if, elif, and else to compare values, test equality, and handle none with is and is not.

  • For Loops4:25

    Explore how for loops iterate over lists and sets, print each item with f-strings, and control flow with break and continue while working with strings and vowels.

  • While Loops1:27

    Master while loops by setting a stopping condition and incrementing a counter from zero to ten while printing each step; otherwise a loop runs forever.

  • List Comprehensions2:10

    Master list comprehensions in Python to generate lists in a single line, map numbers by ten, and filter for even values using an if condition.

  • Functions3:36

    Master defining and calling Python functions, using return values, default and keyword arguments, and returning various data types including other functions from function calls.

  • Scope2:45

    Learn Python variable scope by seeing how a function uses outer values when no local name is provided, including a default name and related name errors.

  • OOP5:32

    Learn how Python treats everything as an object, create your own classes and objects, and define attributes and methods, including self, __init__, and __str__ to control behavior and output.

  • Packages1:22

    Discover how to manage Python packages with pip: check versions, install and uninstall packages like Django, view details with pip show, and list all packages with pip freeze.

  • Try/Except3:31

    Learn to use try and except in Python to catch exceptions like zero division errors, keep programs running, and handle user input safely.

Requirements

  • WARNING: This is a FAST PACE course
  • This course is for you already know an existing programming language
  • If you are BRAND NEW to Python this course IS NOT for you

Description

Hello and welcome to the Python 3 Crash Course, 2020 edition! 

This is a high intensity training course for programmers who already know another programming language. If you know Java, C, PHP, JavaScript, or any other language and want to make the leap tp Python.. this is the course for you! 

In this course you'll learn several Python topics very quickly. We'll start at the very beginning and install Python, execute a .py file from our command line, explore basic math and work with Python variables.

Then we'll move onto Python data structures, indexing strings and lists, formatting methods, and file management files.

Lastly we'll learn about conditionals, loops, list comprehensions, functions, OOP, error handling and Python packages.

If you're a beginner and you're brand new to Python, that's OK. You can still take this course and get a one hour high level overview of what Python can do and how to write Python. But people who will get the most from this course are intermediate developers or developers from other programming languages who want to learn Python.

Otherwise, let's dive in! 

Who this course is for:

  • Programmers who already know a programming language
  • Intermediate Python developers who already know the basics
  • Anyone who wants a 1 hour Python 3 crash course