Library

Course: Python for Beginners 2017

Python for Beginners 2017

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
About this Course

See why over 350,000 Simpliv members learn coding from Mark Lassoff and LearnToProgram.tv!

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.

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
Basic knowledge
  • Students should be comfortable working in the PC or Mac operating system
What you will learn
  • 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
Curriculum
Lectures quantity: 64
Common duration: 05:22:10
Getting Started
  • About the Instructor  
  • Quick Start: Writing Your First Python Program  

    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!

  • Using the Shell Window  

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

  • Writing Code in the Editor Window  

    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.

  • Executing Python on the Command Line  

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

Output
  • Output: Section Introduction  

    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.

  • The print() Function  

    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.

  • Separators and Newlines  

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

Variables
  • Variables: Section Introduction  

    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.

  • Variable Assignment  

    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.

  • Number Variables (Int, float and complex)  

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

  • String Variables  

    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

  • Substrings and Concatenation  

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

  • Variables with Lists, Tuples and Dictionaries  

    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.

Operators
  • Operators: Section Introduction  

    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.

  • Python Mathemtical Operators  

    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.

  • Order of Operations  

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

  • Python Comparison Operators  

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

  • Python Logical Operators  

    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.

Code Branching
  • Code Branching: Section Introduction  

    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.

  • Simple If Statements  

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

  • If.... Else Statements  

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

  • Nested If Statements  

    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.

  • Ternary Operator  

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

Loops
  • Loops: Section Introduction  

    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  

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

  • For Loops  

    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.

  • Nested Loops  

    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.

  • Break and Continue Statements  

    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.

Math Functions
  • Math Functions: Section Introduction  

    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.

  • Casting Functions  

    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.

  • Mathematical Functions  

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

  • Random Functions  

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

Python String Functions
  • Python String Functions: Section Introduction  

    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.

  • capitalize(), center() and count()  

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

  • find(), isalpha(), isdigit()  

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

  • join(), len(), split()  

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

Tuples and Dictionaries
  • Tuples and Dictionaries: Section Introduction  

    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.

  • Creating Tuples  

    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.

  • Accessing Values in Tuples  

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

  • Tuple Functions  

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

  • Declaring a Dictionary  

    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.

  • Accessing and Editing Values in Dictionaries  

    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.

  • Dictionary Functions  

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

Time and Date
  • Time and Date: Section Introduction  

    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  

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

  • The Calendar  

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

  • Time and Calendar Functions  

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

Python Functions
  • Python Functions: Section Introduction  

    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.

  • Defining and Calling a Simple Function  

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

  • Required Argument Functions  

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

  • Keyword Argument Functions  

    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 Function Arguments  

    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.

  • Return Statement  

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

  • Creating and Consuming Python Modules  

    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.

Input/Output
  • Input/Output: Section Introduction  

    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.

  • Reading Keyboard Input  

    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.

  • Reading an External Text File  

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

  • Writing an External Text File  

    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.

More with Python
  • More with Python: Section Introduction  

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

  • Handling Exceptions  

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

  • Web Server Coding with Python  

    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.

  • Processing Form Data in Python  

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

  • Wrap up and Goodbye  

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

Rating
Enrolled Students
(72)
Level
Beginner
Price
$ 9.00
Course Language
English
Reviews (0)