Python Basics

Summary

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

Autoplay:
View previous videoPrevious video

This segment concludes the video course with a summary of all we’ve covered.

Keywords

  • Python basics
  • summary

About this video

Author(s)
Coen de Groot
First online
17 March 2020
DOI
https://doi.org/10.1007/978-1-4842-5831-6_22
Online ISBN
978-1-4842-5831-6
Publisher
Apress
Copyright information
© Coen de Groot 2020

Related content

Video Transcript

This has been a lot of information. We have covered many different topics. Let’s briefly remind ourselves. You learned about Python, how to install it and write and run some code. We used variables to access objects in memory, such as floats, integer, and strings.

The if statement lets you change the flow of the program. We also looked at the different types of tests, greater than, less than, equals, et cetera. Having worked with single items, we also learned how to use collections, lists, tuples, and dictionaries to store multiple items. And we used the for statement to loop through them.

To help us write larger programs, we covered reading and writing files, and another type of loop, the while loop. To keep our programs manageable and easier to follow, we learned how to break our code up into functions, and how to call functions with positional and keyword arguments. And finally, you saw a few examples of how you might use Python for some specific tasks.

I hope you found this course useful. It contains a lot of information, but I’ve tried to structure it so you can learn it step by step. Go ahead, install Python if you haven’t already done so, and start experimenting with Python. Be careful when you use Python to create files. But otherwise, you can’t break anything. If you make a mistake whilst programming, no one will know, so you are free to try things out, fail, try again until it works. Enjoy.