Python Type Hinting

preview_player
Показать описание
An overview of type hinting, including generics, in Python.

#mathbyteacademy #python

Code for this Video
================

My Python Courses
=================

- Python 3 Fundamentals (introduction to Python)

- Python 3 Deep Dive (Part 1 - Functional)

- Python 3 Deep Dive (Part 2 - Iteration, Generators)

- Python 3 Deep Dive (Part 3 - Hash Maps)

- Python 3 Deep Dive (Part 4 - OOP)
Рекомендации по теме
Комментарии
Автор

Just like the Udemy courses, on point and informative. Waiting for Part 5 of Udemy series

rekeshwardhanani
Автор

So much useful info in such a short time!

iwswordpress
Автор

If you want to understand how something actually works, he is your man!

MohamedAhmed-rfbk
Автор

Made my day. Going to sleep today with satisfaction as learnt some good stuff.

raviranjan
Автор

Fred, so great you have come back. Your 4 part Python course was amazing, but then you disappeared :-). Please, post!

AlexanderDemin
Автор

def func(*, a: int, ....) I missed why you did the star or * in parameter, ... else great

rolfjohansen
Автор

Oh man, thanks! Looking forward for that Pydantic video.
By the way, I am curious, will you be doing some content about FastAPI?

amidfallen
Автор

Your videos are awesome, it gives all required info. Thanks for this high quality stuff!

D_Analyst
Автор

32:30 concise it may be but not precise, we need iterables of iterables of exactly _two_ elements. Still need to add a comment or is there a way to express this through type hinting?

Good video 👍

Ibo-dqkm
Автор

Fred! Thanks a lot for your videos and courses, they are such an incredible resource! I have request if time permits and you think it would be useful, would love to see a deep dive video on Python Generics. Maybe you already have it among all your videos and I missed it.

BernardoDionisi
Автор

Hi Fred, thanks for the amazing lecture. I just bought your Pydantic V2 course. Before that I am on this video. I have a very basic doubt. Is List[Union[int, float]] the same thing as List[int | float]. The reason why am i asking this is because in my python version "int | float" is not working. Thanks in advanced

abhi.isnt.awesome
Автор

I have a question: what does the Asterix in your example def func(*, a: int, b: int = 0) do? is it a "shorthand" for *args?

Absimilard