Topic 1: Python Basics
Python is a very popular programming language with many uses in cloud engineering and a great community, which is why we've selected it as the language to learn in this guide.
- Study:
-
Python Crash Course by Eric Matthes
-
Go through the entire book, take it a chapter a day and you should be able to get it done in a month with a couple of hours of study per day.
-
This book is a great resource for beginners to learn Python programming. It covers the basics of Python syntax, data structures, functions, and modules. The book also includes hands-on projects to help you practice your skills and build real-world applications.
Test your knowledge
Once you are done with the book, watch the CS50 lecture on Python. Everything here should make sense to you, if not, you are not ready to move on.
Test your knowledge with an AI assistant, here are some example prompts to test your Python knowledge:
- Can you ask me about the difference between a list and a tuple in Python?
- Can you quiz me on how to create a dictionary in Python?
- Can you ask me to explain the concept of list comprehensions with an example?
- Can you ask me what a lambda function is and how it is used?
- Can you quiz me on how to handle exceptions in Python?
- Can you ask me about Python decorators and how they work?
- Can you ask me to explain the difference between
__init__
and__new__
methods in Python classes? - Can you quiz me on how to read and write files in Python?
- Can you ask me about generators in Python and how they differ from regular functions?
- Can you quiz me on how to use the
map
,filter
, andreduce
functions in Python?