Python for Beginners with Examples
4.4 (2,951 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.
40,691 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Python for Beginners with Examples to your Wishlist.

Add to Wishlist

Python for Beginners with Examples

A practical Python course for beginners with examples and exercises.
4.4 (2,951 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.
40,691 students enrolled
Created by Ardit Sulce
Last updated 8/2017
Price: Free
  • 2 hours on-demand video
  • 1 Article
  • 5 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
What Will I Learn?
  • 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.
View Curriculum
  • A working computer (Windows, Mac, or Linux)
  • No prior knowledge of Python is required

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.

Who 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.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
32 Lectures
Getting Started with Python
5 Lectures 22:01

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

Introduction to the course

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.
A few words about Python

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.

Installing Python through the Anaconda bundle

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

Installing Python the default way

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

Spyder and iPython

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

Section1 Quiz
3 questions
Variables, Strings, Integers and Floats
3 Lectures 12:08

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


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

How to save your code

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

Strings and numbers

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

Variables, strings, and numbers
4 questions
Conditionals and functions
3 Lectures 07:15

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.

If, else, and indentation

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.

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

Storing code for later use
1 page

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.

Conditionals and functions
4 questions
Sequences, collections and iterations
4 Lectures 16:26

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


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


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.
Working with sequences and strings

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
Working with files
4 Lectures 07:13

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

Working with files

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

Handling files easily

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

3 pages

Exercise solution
1 page
Getting into the real world
8 Lectures 30:43

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

Finding and using any library you want

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

Real world example: Extracting averages from data files

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

Code introspection

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

Real world example: Generating KML files

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

Interacting with the user

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

Exercise: User interaction
2 pages

Showing the solution of the user input exercise.

Exercise solution: User interaction
1 page

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

Converting CSV data to a KML file
Making a Graphical User Interface (GUI) for your script
3 Lectures 14:59

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

Global variables

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

Creating a GUI with tkinter

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

Attaching the GUI to your script
Creating an Executable File out of a Python Program
2 Lectures 03:23

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.

Creating standalone executables out of your Python programs

Bonus lecture
About the Instructor
Ardit Sulce
4.4 Average rating
10,936 Reviews
86,150 Students
6 Courses
Python and GIS Expert, Founder of

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.