Python for Beginners 2017

Learn Python-- The Swiss Army Knife of Coding Languages
4.7 (105 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.
2,639 students enrolled
85% off
Take This Course
  • Lectures 64
  • Length 5.5 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


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


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

About This Course

Published 2/2017 English

Course Description

See why over 350,000 Udemy members learn coding from Mark Lassoff and!

Few programming languages provide you with the flexibility and pure power of Python.

If you're becoming a professional developer, or are early in your development career, adding the Python skill set isn't just a resume embellishment-- It's an empowering language that will allow you to write procedural code in many types of environments and for many uses.

Python is commonly used for server side programming for complex web applications or as a middle tier language providing web services or a communication layer with larger ecommerce systems. That being said, it's also a great language for beginners. The clear syntax makes it very easy to learn, and the powerful libraries make all types of programming possible. There are libraries for everything from games and graphics to complex mathematics to network and embedded programming.

Watch, Learn and Do

Programming is not a spectator sport and if you want to learn Python well, this course contains everything you need.

Skill oriented instructor-led lectures will demonstrate each important Python skill. You'll be able to study and modify the code on your own to cement each topic. Python code coding lab exercises will familiarize you not just with Python syntax, but how real problem-solving in Python is done. You'll complete a more comprehensive project to help you integrate the different skills that are part of core Python.

What are the requirements?

  • Students should be comfortable working in the PC or Mac operating system

What am I going to get from this course?

  • How to use the Python Shell
  • How to use interactive mode in Python
  • How to develop and run programs in the IDLE editor
  • How to run Python scripts directly from the command line
  • How to use the print() function
  • How to use separators and new line characters to modify command line output
  • Assign variables of different types
  • Understand integer, floating point, complex and string variables
  • Be able to extract substrings
  • Easily concatenate strings
  • Create Lists and Tuples
  • Create key value pairs and store them in dictionaries
  • Understand mathematical operators used in Python
  • Apply the order of operations to mathematical operations
  • Utilize comparison operators to determine logical outcomes
  • Use logical operators to join comparisons
  • Write conditional statements to correctly branch code
  • Use If, else and else if statements to apply branching
  • Understand how and when to used nested if statements
  • Use the shortcut Ternary operator
  • Be able to use looping structures effectively
  • Create While loops
  • Be able to use For loops to loop through an objects properties
  • Be able to construct nested loops and understand their utility.
  • Cast variables from one type to another using built-in Python functions
  • Use the Mathematical functions within Python to evaluate expressions
  • Randomize numbers and selections with the Randomization tools
  • Use Python String functions such as find(), join() and split()
  • Create immutable tuples
  • Access values within tuples
  • Use tuple functions to manipulate tuple data
  • Declare a dictionary and populate it with key/value pairs
  • Access and edit values within dictionaries
  • Extract date and time information from the time tuple
  • Use the calendar object to work with calendar related information
  • Create custom functions
  • Send arguments to functions using order or keyword
  • Create default function arguments
  • Read and obtain keyboard input
  • Read from a text file and process the data in Python
  • Write to a text file from Python
  • Append to a text file
  • Handle exceptions with try/except/else in Python
  • Use Python within the cgi-bin or a web server
  • Process form data from Python

Who is the target audience?

  • First time Python programmers
  • Students and Teachers
  • IT pros who want to learn to code
  • Aspiring data scientists who want to add Python to their tool arsenal

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.


Section 1: Getting Started
About the Instructor

Hit the road running and write your very first Python program in this first section. Even if you've never written a line of code before, this section will get you coding in Python!


The IDLE environment includes the shell window and interactive mode. We'll try working in interactive mode in this section of the course.


You'll spend most of your time coding in the code editor window. In this section, you'll join Mark, as he creates a program in the code window and executes it.


Remember the old "C" prompt? We're actually going to use it to compile and run our Python code.

Section 2: Output

For the user to see results of a Python program, you have to understand output. We're going to look at command line output in this section.


There's a bit more than meets the eye when it comes to the print() function. We'll take a thorough look at print() output in this segment of the course.


You can take more control of command line output by using separators and newline characters. Mark will demonstrate them in this section

Section 3: Variables

You probably remember variables from your high school algebra class. Solve for 'x' was a common instruction. We'll be talking about variables and how they related to Python programming in this section of the course.


When you first create a variable and provide it a value the process is known as "variable assignment". Mark will demonstrate the process in this video.


Python handles several types of values. We'll survey integers, floating point numbers and complex numbers in this section.


One of Python's strengths is the ability to process strings. You'll learn how to use string variables in Python in this segment of the course


Python let's you easily manipulate substrings and concatenate strings. Mark will show you how in this course video.


Variables can hold single values, but also more complex structures such as lists and tuples. We'll introduce the concepts of lists and tuples in this section.

Section 4: Operators

Operators are used to complete arithmetic, make decisions and much more in coding. Mark will review all of the common operators in Python during this section.


Let Python do the math for you. You'll see a few mathematical operators you're familiar with-- and a few you're not in this section.


PEDMAS. The order of operations is important to understand when working with mathematics in Python.


In order for programs to make decisions, we have to make comparisons. You'll learn about the comparison operators in this video lecture.


The logical operators AND and OR are used for making compound and complex evaluations in Python. You'll learn how to apply the skill in this section.

Section 5: Code Branching

Branching is decision making in Python code. The program will follow one path-- or another-- based on evaluating a condition. Mark will explain several types of conditional statements in this chapter.


Basic branching logic in Python starts with the if statement. You'll learn how to use if in this video.


The introduction of the else statement to conditional logical allows you to code for multiple outcomes when Python code is evaluating a condition.


Sometimes when coding, logic requires one if statement to live inside another. These are known as nested if statements and Mark will show you how to use them in this segment.


Impress your coder friends by using this shortcut if/else structure.

Section 6: Loops

Loops allow a section of code to be repeated based on evaluating some condition. Many processes in programs are within loops. A program that deals cards uses loops, as do word processors, spreadsheets and games.


While loops are Python's primary looping structure. You'll learn how to create while loops in this course segment.


For loops in Python are a bit different than for loops in most other programming languages. Watch this video and learn how useful Python's for loop is.


Just like if statements, program logic sometimes calls for loops to be nested inside one another. You'll see exactly hows nested loops work in this video.


The break and continue statements give you, as the Python programmer, more control over loop execution. You'll learn how to use break and continue in this video.

Section 7: Math Functions

Python has a suite of built-in math functions that make complex calculations easy. We'll be looking at functions in the math library in this course chapter.


Often when coding you'll have to change a value from a float to a string or string to an integer. The casting functions will show you how to do this. Mark demonstrated casting in this video.


You'll learn some of the advanced math functions that are available in Python.


Python has a great suite of randomization tools. You'll learn how to use several randomization functions in this video lecture.

Section 8: Python String Functions

Python is frequently used for string manipulation and processing. Many who work with large amounts of data complete string processing in Python. We'll demonstrate some of Python's string functions in this chapter.


Mark demonstrates three string functions found in the Python programming language.


You'll learn find() and two other important String functions.


You'll learn how to do some String manipulation with the powerful join() and split() functions.

Section 9: Tuples and Dictionaries

Tuples and dictionaries are data structures within the Python environment that allow you to store more complex data. You'll find these used frequently by Python developers because there are many convenient functions that can be used to manipulate data stored in these structures.


Tuples are lists that cannot be changed once stored. Tuples are often used to store non-dynamic information that is needed through the lifetime of a Python script.


Once stored, the data in a tuple can be accessed and retrieved. Mark demonstrates in this video lecture.


In this section you'll learn some of the functions that you can use with Tuples.


Dictionaries provide the opportunity to store key-value data about a single entity in a single object. You'll learn how to use dictionaries in this section.


Once you've created a dictionary, you're going to need to access, edit and delete values in the dictionary. Mark shows you how in this section of the course.


Like other objects in Python, Dictionaries have a number of functions that make manipulating dictionary data easier. You'll learn how in this section.

Section 10: Time and Date

Programmers frequently have to work with times and dates. Python has a number of tools to assist you with time and date information. In this section you'll learn some of the time and date functions available in Python.


The time tuple provides information about the current time and date. You'll access it in this section of the course.


The calendar object allows you to manipulate calendar data. Mark explains in this section of the course.


The time and calendar utility functions in Python will help you work with time and date data in the language.

Section 11: Python Functions

You've already used a number of built-in Python functions. In this sections you'll learn how to create custom functions and tie them together as a module.


You'll learn how to create a simple function and how to call that function from other parts of your script.


Required argument functions require data to be passed to the function for processing. Mark will demonstrated in this section.


Keyword argument functions allow you to label arguments with keywords instead of depending on the order of the keywords for processing in a function.


Default arguments in function provide a default value for arguments passed in to the function. You'll learn how to create default arguments in this section of the course.


The return statement allows your functions to return a value or object to the caller.


Modules can be helpful for organizing your code in to logical packages. You'll learn how to create and import custom modules in this section.

Section 12: Input/Output

Learn how Python can communicate beyond the shell. In this section you'll learn how Python can receive input from the keyboard and communicate with external files.


Once you can take and process input from the keyboard you can create programs that interact with the user. Mark demonstrates in this video lecture.


Python makes it easy to read external text files. You'll learn how in this section of the course.


The same file pointer object that lets you read external files lets you write external files. We'll save data to a text file in this section of the course.

Section 13: More with Python

In this last section of the course, we'll look at a couple of more Python features that are used by professional Python developers


Exceptions are generated when an unexpected condition occurs at runtime. Mark will teach you to work with exceptions in this section.


Python code can be used in the cgi-bin of a web server. You'll learn how to use Python on the web in this section of the course.


Python is frequently used to process information from an HTML form. Mark will show you both the HTML and the Python in this section.


Thanks for taking the course. Say goodbye to your favorite Python instructor in this last section.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

LearnToProgram, Inc., Learn Web, Mobile and Game Development

LearnToProgram Media is a leading publisher of web, mobile, and game development courses that are used by over 500,000 people in 65 countries. LearnToProgram's valuable network of technical resources includes content on YouTube, iTunes, and Roku, as well as books, free tutorials, and online courses.

With a mission of “teaching the world to code" LearnToProgram instructors are teachers first and technical experts second. Their primary skill is relating complex technical information to nontechnical people learning web, mobile and game development. The entirely online, self-paced sales model allows students to learn at their own pace.

With over 40 courses on the market, LearnToProgram offers students flexible programs in web development, mobile application development and game development. Currently the company's most popular online courses include Become a Certified Web Developer and 10 Apps in 10 Weeks.

The company is based outside of Hartford, Connecticut.

Instructor Biography

Mark Lassoff, Programming Instructor with over 500,000 students worldwide.

Mark Lassoff 's parents frequently claim that Mark was born to be a programmer.  Starting, in the mid-eighties at age 11, Mark was hard at work on his Commodore 64 writing games in the BASIC language.  After completing a computer science degree, Mark developed software for several well-known internet startups during the initial internet boom of the mid 1990’s.  Five years ago Mark parlayed a two decades of software development experience into his latest entrepreneurial venture, LearnToProgram Media.

LearnToProgram Media publishes online courses that teach mobile, web, and game development. Over 500,000 people have learned programming from Mark through online classes he has either authored or published. In addition to publishing popular courses and books LearnToProgram Media operates an internet video network which produces several programs on software development.

Previously Mark founded PowerPlant Marketing, which created marketing automation software for REALTORS™.  After the sale of PowerPlant, Mark went on to found Internet Broadcasting Group which counted among it’s launch clients Nike, Blue Moon Brewing Company and Opubco.

Mark lives in Connecticut and speaks worldwide on software development, entrepreneurship and online learning.  He has spoken at TechWeek NY, TechWeek LA, and SXSW, among other large conferences.  In his spare time he he enjoys aviation, mentoring new business owners and spending time with life-long friends and family.

Ready to start learning?
Take This Course