- Overview
- Transcript
1.1 Introduction
Welcome to Introduction to Python.
In the past, I've thought of Python as more of a learning tool than a serious language. But after spending more time working with it, I'm starting to recognize the power of the language. In this course I'll introduce you to the basics of the Python language, so you can get started coding with it.
1.Introduction2 lessons, 11:32
1.1Introduction02:03
1.2Prerequisites09:29
2.Python Building Blocks6 lessons, 1:08:07
2.1Introduction to the Interpreter09:51
2.2Numbers10:53
2.3Strings14:36
2.4Lists11:33
2.5Standard Input and Formatting12:00
2.6Building a Tip Calculator09:14
3.Controlling the Flow7 lessons, 1:20:10
3.1Conditional Statements12:47
3.2Looping With For09:36
3.3The Range Function10:41
3.4Looping With While13:06
3.5Creating Functions: Part 111:55
3.6Creating Functions: Part 208:49
3.7Building an Average Calculator13:16
4.Common Data Structures4 lessons, 46:49
4.1Lists, Stacks, and Queues, Oh My!11:45
4.2Dictionaries10:10
4.3Iterating Data Structures09:41
4.4Building a Sentence Analyzer15:13
5.Application Structure7 lessons, 1:15:12
5.1Modules09:08
5.2Packages11:24
5.3Classes09:53
5.4Attributes09:34
5.5Methods12:01
5.6A Special Calculator: Part 113:36
5.7A Special Calculator: Part 209:36
6.Collections7 lessons, 46:55
6.1What Are Comprehensions?06:32
6.2List Comprehensions06:08
6.3Dictionary Comprehensions06:38
6.4Map05:45
6.5Filter06:31
6.6Lambdas05:21
6.7Generators10:00
7.File I/O6 lessons, 48:51
7.1File Basics06:50
7.2Reading Entire Files07:49
7.3Navigating a File08:32
7.4Writing to Files07:22
7.5Reading and Writing to Files09:15
7.6Reading and Writing Complex Objects09:03
8.Networking5 lessons, 43:48
8.1Introducing the Socket04:39
8.2Getting a Remote IP Address06:42
8.3Handling Socket Errors07:58
8.4Create a Socket Server16:04
8.5Create a Socket Client08:25
9.Connecting to Network Services3 lessons, 34:27
9.1Getting the Current Time With NTP10:38
9.2Getting Websites With HTTP12:57
9.3Downloading Files With FTP10:52
10.Conclusion1 lesson, 02:08
10.1Goodbye02:08
1.1 Introduction
Python is amazing. Python is the first language you should learn. Python can babysit your children, and take your dog for a walk. How often on the Internet have we seen these outlandish claims but have oftentimes found it very difficult to substantiate any of them? Well, not today. Today, we're going to show you from beginning to end how you can start with very little knowledge of a programming language, such as Python, and learn the ins and outs and the fundamental building blocks of the language so much so that you'll begin being able to write applications right away. And then, we're gonna take that foundational knowledge and we're gonna move it up a level and we're gonna start to learn about data structures. And how Python is structured to very quickly and easily allow you to get in and out of a lot of the built in data structures and even allow you to make your own. Then we're gonna show you how you can interact with files, to be able to save dated files, read data from files, and even take complex objects and store them in files for later use. And then do you think that's it? Absolutely not, we're gonna take it a step farther and we're gonna start talking about networked applications. How can we use Python to create very complex client server type applications in a very simple way? Then how can we interact with other network services and protocols out on the internet? How can we interact with websites? How can we interact with FTP sites? How can we sync our computer's clock to network time protocol servers out on the internet? All sound outlandish and crazy but I'm telling you, these things are within all of our reach. So sit down with me and join me for a while as I take you through the entire story from soup to nuts to take you from an absolute beginner in Python programming to being able to write very sophisticated and useful applications for yourself today. Think it's outlandish? Not anymore. My name is Derek Jensen and welcome to Python.