Are there any good resources to learn advanced type annotations? /u/ImportantDesk Python Education
Are there any good resources to learn advanced type annotations? /u/ImportantDesk Python Education
I want examples of more complicated stuff like generics, generators, callables and coroutines, async functions, async iterators, intersections, type guards, enums, etc. These are the only things I’ve heard of. I don’t know what I don’t know, so I want to explore the world of more complicated annotations. I can easily search up each and every example mentioned above, but that doesn’t cover the full picture of what I don’t already know exists, if that makes sense.
Most YouTube tutorials only cover surface level basic type hinting. And googling this gives decent results, but most articles don’t go too in depth. I want to learn with the latest and greatest version of Python, of course. I’m aware that generics are now built-in and a lot of types from the `typing` module are now deprecated in favor of the `collections.abc` module.
Can anyone recommend good resources? Thanks
submitted by /u/ImportantDesk
[link] [comments]
r/learnpython I want examples of more complicated stuff like generics, generators, callables and coroutines, async functions, async iterators, intersections, type guards, enums, etc. These are the only things I’ve heard of. I don’t know what I don’t know, so I want to explore the world of more complicated annotations. I can easily search up each and every example mentioned above, but that doesn’t cover the full picture of what I don’t already know exists, if that makes sense. Most YouTube tutorials only cover surface level basic type hinting. And googling this gives decent results, but most articles don’t go too in depth. I want to learn with the latest and greatest version of Python, of course. I’m aware that generics are now built-in and a lot of types from the `typing` module are now deprecated in favor of the `collections.abc` module. Can anyone recommend good resources? Thanks submitted by /u/ImportantDesk [link] [comments]
I want examples of more complicated stuff like generics, generators, callables and coroutines, async functions, async iterators, intersections, type guards, enums, etc. These are the only things I’ve heard of. I don’t know what I don’t know, so I want to explore the world of more complicated annotations. I can easily search up each and every example mentioned above, but that doesn’t cover the full picture of what I don’t already know exists, if that makes sense.
Most YouTube tutorials only cover surface level basic type hinting. And googling this gives decent results, but most articles don’t go too in depth. I want to learn with the latest and greatest version of Python, of course. I’m aware that generics are now built-in and a lot of types from the `typing` module are now deprecated in favor of the `collections.abc` module.
Can anyone recommend good resources? Thanks
submitted by /u/ImportantDesk
[link] [comments] I want examples of more complicated stuff like generics, generators, callables and coroutines, async functions, async iterators, intersections, type guards, enums, etc. These are the only things I’ve heard of. I don’t know what I don’t know, so I want to explore the world of more complicated annotations. I can easily search up each and every example mentioned above, but that doesn’t cover the full picture of what I don’t already know exists, if that makes sense. Most YouTube tutorials only cover surface level basic type hinting. And googling this gives decent results, but most articles don’t go too in depth. I want to learn with the latest and greatest version of Python, of course. I’m aware that generics are now built-in and a lot of types from the `typing` module are now deprecated in favor of the `collections.abc` module. Can anyone recommend good resources? Thanks submitted by /u/ImportantDesk [link] [comments]