Python for Beginners with Examples

A practical Python course for beginners with examples and exercises.
4.3 (811 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
12,771 students enrolled
Free
Start Learning Now
  • Lectures 32
  • Length 2 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2015 English

Course Description

This Python course will get you up and running with Python very quickly saving you time spent googling for video tutorials, exercises and examples. The course covers all that. 

If you want to learn Python for building web applications, handling databases, doing data science, image processing, and desktop applications check out the paid course "The Python Mega Course:  Build 10 Real World Applications".

The "Python for Beginners with Examples" course is ideal for those who haven't programmed before, but it should also work for experienced programmers who want to learn Python as long as they don't get offended by a bit of extra explanations.

You will start from scratch and by the end of the course you will know how to write Python programs and you will build your first Python program that has a graphical user interface (GUI) built with Python Tkinter. The Python program you will build can run both on Windows and Mac as a standalone program.

The course also guides you on how to go about building more advanced programs with Python. You will learn how to use Python third party libraries for building programs in a wide range of application areas.

This is not simply a tutorial. The content of the course consists of a mix of video lectures, quizzes, exercises, and discussions with the instructor and the fellow students.

What are the requirements?

  • A working computer (Windows, Mac, or Linux)
  • No prior knowledge of Python is required

What am I going to get from this course?

  • Gain the skills to independently write real world non-complex programs.
  • Learn how to quickly set up a Python environment with its associated libraries
  • Learn to perform various batch operations
  • Write small Python programs integrating the fundamental blocks of the language
  • Write a complete Python program that takes user input, processes and outputs the results
  • Create a graphical user interfaces for your Python programs using the Python Tkinter library
  • Create a final executable that runs as a standalone program both on Windows and Mac
  • Be able to load and use data from CSV and TXT files in Python
  • Map data from CSV files to Google Earth KML files.

What is the target audience?

  • Those who don't know where to start with learning Python.
  • Those who want to use Python regardless of the technology field they want to apply the language to.
  • Those who need a complete guide on how to start and continue their career with Python.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started with Python
03:06

A short introduction on what you expect to learn in this Python course.

03:04
You will learn a few facts about Python, such as what Python is, what it can do, what fields of technology can Python be used for, where Python stands among the other programming languages and how Python has become so popular.
08:47

You will learn how to install Python through the Anaconda package which is a complete package that will not only install Python into your computer, but also other libraries that allow you to build programs of different needs.

03:29

You will learn how to install Python with its default interpreter and editor.

03:35

You will learn how to use the Spyder environment to write scripts of Python code and also learn how to use iPython which is an enhanced interactive shell where you type in and execute Python code. iPython is tailored for data analysis applications

3 questions

Here you will be tested on what you know about getting the Python tools up and running.

Section 2: Variables, Strings, Integers and Floats
02:47

You will be able to declare variables in Python and assign different data types to them, such as strings, integers, and floats.

05:05

You will learn how to create Python scripts and run them at once.

04:16

You will learn about strings and the different number data types used in Python and how to perform operations with them.

4 questions

Here you will see how much you know about declaring variables, and using strings and numbers

Section 3: Conditionals and functions
04:06

You will learn how to write a small conditional program using the if-else clause. You will also learn about the crucial Python concept of indentation.

03:09
You will learn what built-in functions are and also how to create your own customized Python functions and how to call them for generating their output.
1 page

You will learn how to store Python code in a file so you can reuse it at any time.

4 questions

NOTE: The quiz interface does not display white space before text. Therefore, sometimes I use four full stops (....) to represent the indentation of four white spaces in the quiz.

Section 4: Sequences, collections and iterations
02:48

You will understand the structure of list and tuple datatypes and learn how to create them in Python.

03:28

You will understand the structure of set and dictionary datatypes and learn how to create them.

06:38
You will be able to perform various operations with lists, tuples and strings. You will learn how to use indexing, access list, tuple, and string elements and perform slicing operations.
03:32

You will learn how to use the for loop in Python and also how to integrate an if statement inside a for loop block.

Sequences, collections, strings and iterations
4 questions
Section 5: Working with files
05:29

You will learn how to create and open files from within Python and write lines of text inside TXT files.

01:44

You will learn the with method which is a great shortcut for handling files in Python.

3 pages

You will practice the for loop by writing information inside a text file.

Exercise solution
1 page
Section 6: Getting into the real world
06:22

You will learn how to locate Python external libraries which you can use for making Python programs specific to your industry field.

06:43

You will be extracting data from TXT files and process those data inside Python using the pandas library.

03:49

You will learn how to quickly ask for help information using simple Python functions.

04:01

You will learn how to generate a KML file from scratch using the simplekml Python library.

05:07

You will learn how to make your programs more user friendly by letting the user enter input and have Python process that input.

2 pages

You will improve the script that creates a KML file by letting the user input the coordinates of the point.

1 page

Showing the solution of the user input exercise.

04:41

Here you will learn how to iterate through CSV rows and process the row values in Python.

Section 7: Making a Graphical User Interface (GUI) for your script
01:57

Learning how to create variables that can be read outside of functions

05:34

You will learn how to create a window with a title bar, some text, and two buttons.

07:28

You will learn how to relate the graphical interface to the functions of your scripts.

Section 8: Creating an Executable File out of a Python Program
03:04

Here you will learn how to create a .exe file for Windows or a .app file for Map out of your .py script so that everyone can easily distribute your program.

Bonus lecture
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Ardit Sulce, Python and GIS Expert, Founder of PythonHow.com

Ardit received his master's degree in Geospatial Technologies from the Institute of Geoinformatics at University of Muenster, Germany. He also holds a Bachelor's degree in Geodetic Engineering.

Ardit offers his expertise in Python development on Upwork where he has worked with companies such as the Swiss in-Terra,  Center for Conservation Geography, and Rapid Intelligence. He is the founder of PythonHow where he authors written tutorials about the Python programming language. 

Ready to start learning?
Start Learning Now