
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.
For the user to see the results of a Python program, you have to understand the 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
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.
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.
PEMDAS. 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.
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.
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.
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.
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.
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.
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.
See why over 350,000 Udemy members learn coding from Mark Lassoff!
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.