Explore Books related to Python. Click Here

Looking to start learning Python?

Begin Here

Tag: Python 101

Python 101 - Type Hinting in Python (Video)

July 21, 2022 by Mike
Learn all about type hinting (AKA type annotation) in this tutorial by Mike Driscoll What You'll Learn  Pros and Cons of Type Hinting Built-in Type Hinting / Variable Annotation Collection Type Hinting Hinting Values That Could be None Type Hinting Functions What To Do When Things Get Complicated Classes Decorators Aliasing Other Type Hints This […]

Python 101 - Learn All About Functions (Video)

May 7, 2022 by Mike
In this video tutorial you will learn the following: Creating a function Calling a function Passing arguments Type hinting your arguments Passing keyword arguments Required and default arguments *args and **kwargs Positional-only arguments Scope Related Merch Python 101 Video Series Python 101 - 2nd Edition: Amazon (paperback / Kindle) Gumroad (eBook - PDF, mobi, epub) […]

Python 101 - Assignment Expressions

September 24, 2021 by Mike
Assignment expressions were added to Python in version 3.8. The general idea is that an assignment expression allows you to assign to variables within an expression. The syntax for doing this is: NAME := expr This operator has been called the "walrus operator", although their real name is "assignment expression". Interestingly, the CPython internals also […]

How to Send Emails with Python

September 21, 2021 by Mike
Python provides a couple of really nice modules that you can use to craft emails with. They are the email and smtplib modules. Instead of going over various methods in these two modules, you'll spend some time learning how to actually use these modules. Specifically, you'll be covering the following: The basics of emailing How […]

Python 101: Exception Handling (Video)

June 25, 2021 by Mike
In this video tutorial, you will learn how exception handling works in Python. Specifically, you will learn the following: Common exceptions Handling exceptions Raising exceptions Examining exception objects Using the finally statement Using the else statement If you prefer to read a tutorial, you might be interested in this: Python 101 - Exception Handling Want […]

An Intro to Python Virtual Environments

January 27, 2021 by Mike
Python has the concept of the virtual environments built-in to the language. A Python virtual environment is an environment where you can install 3rd party packages for testing without affecting the system Python installation. Each virtual environment has its own set of installed packages and, depending on the virtual environment and how it's set up, […]
1 2 3 12
View More

End of content

No more pages to load

Copyright © 2022 Mouse Vs Python | Powered by Pythonlibrary