Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn to code with an Introduction to Python 3
Rating: 4.7 out of 5(136 ratings)
13,092 students

Learn to code with an Introduction to Python 3

An introduction to Python 3 and interactive programming with Jupyter Notebooks
Created byChris Levy
Last updated 1/2021
English
English [Auto],

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

Course content

9 sections153 lectures21h 46m total length
  • Course Intro1:24
  • Install Python 3 on Mac4:07

    Install Python 3 on a Mac by checking your current Python version in the terminal, downloading the Mac OS installer from Python.org, and verifying the installation with Python 3.

  • Install Jupyter Notebook on Mac5:28

    Learn to install Jupiter notebook for Python in this course, guiding you through checking Python 3 version, using pip3 to install notebook, and launching jupyter notebook in your browser.

  • Install Python 3 on Windows4:48

    Install Python 3.6.5 on Windows by choosing the 64-bit or 32-bit executable installer, add Python to path, and verify via the command prompt that you are using Python 3.

  • Install Jupyter Notebook on Windows5:17
  • Final Check that Jupyter Notebook Works2:29

    verify your python 3 and jupyter notebook setup on macOS or Windows, opening the browser and creating a new python 3 notebook to ensure everything works.

  • Setting Up Course Project Folder on Mac5:02

    Bookmark the book and code resources sites, download and unzip the project, move it to your home directory, create the my_notebooks folder, and open Jupiter notebook from there.

  • Setting Up Course Project Folder on Windows5:48

    Bookmark the book site and the resource download site. Download, extract, and move the course folder to a chosen location, then use the command prompt to start the notebook.

  • Intro to Jupyter Notebook18:41

    Explore how to set up and use Jupiter notebook across Mac and Windows, run and manage cells, save work, and navigate notebooks and folders for Python projects.

Requirements

  • Basic computer knowledge
  • Patience and willingness to learn.

Description

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

  • interactive Python

  • Jupyter Notebooks

  • print

  • strings

  • variables

  • 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)

  • operators

    • comparison operators (==, !=, >, <, >=, <=)

    • logical operators (and, or, not)

    • membership operators (in, not in)

  • if, elif, and else statements

  • lists

    • 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

  • range() function

  • break and continue and pass statements

  • more Python basic operators

    • % modulus

    • +=, -=, *=, /=

Chapter 3: Functions

  • What are functions and why do we use them?

  • Examples of functions that are built into Python.

  • Defining your own functions.

  • Function arguments

    • positional arguments

    • keyword arguments

    • default arguments

  • return statement

  • Local and global scope

Chapter 4: Data Structures

  • lists

    • more list methods

    • list comprehensions

  • tuples

  • dictionaries

    • keys and values

    • ways of iterating over dictionaries

  • sets

  • 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.