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]

Read more

First-gen Pixel Buds Pro are now getting Gemini support /u/MishaalRahman Android

First-gen Pixel Buds Pro are now getting Gemini support /u/MishaalRahman Android

Last week, Google sent out an email stating that Gemini will be “coming soon” to the Pixel Buds, and it’s now rolling out to some users. In addition, “Hey Google” for the buds is no longer controlled by a separate setting but rather tied to your connected device’s setting.

There’s also a new “only require one unlock” toggle that makes it so, after connecting and putting on your buds, you only have to unlock your connected device once to talk to Gemini with personalized responses. Otherwise, you’d need to unlock your connected device every time you want to talk to Gemini.

Thanks to Dan on Telegram for the tip!

submitted by /u/MishaalRahman
[link] [comments]

​r/Android Last week, Google sent out an email stating that Gemini will be “coming soon” to the Pixel Buds, and it’s now rolling out to some users. In addition, “Hey Google” for the buds is no longer controlled by a separate setting but rather tied to your connected device’s setting. There’s also a new “only require one unlock” toggle that makes it so, after connecting and putting on your buds, you only have to unlock your connected device once to talk to Gemini with personalized responses. Otherwise, you’d need to unlock your connected device every time you want to talk to Gemini. Thanks to Dan on Telegram for the tip! submitted by /u/MishaalRahman [link] [comments] 

Last week, Google sent out an email stating that Gemini will be “coming soon” to the Pixel Buds, and it’s now rolling out to some users. In addition, “Hey Google” for the buds is no longer controlled by a separate setting but rather tied to your connected device’s setting.

There’s also a new “only require one unlock” toggle that makes it so, after connecting and putting on your buds, you only have to unlock your connected device once to talk to Gemini with personalized responses. Otherwise, you’d need to unlock your connected device every time you want to talk to Gemini.

Thanks to Dan on Telegram for the tip!

submitted by /u/MishaalRahman
[link] [comments]  Last week, Google sent out an email stating that Gemini will be “coming soon” to the Pixel Buds, and it’s now rolling out to some users. In addition, “Hey Google” for the buds is no longer controlled by a separate setting but rather tied to your connected device’s setting. There’s also a new “only require one unlock” toggle that makes it so, after connecting and putting on your buds, you only have to unlock your connected device once to talk to Gemini with personalized responses. Otherwise, you’d need to unlock your connected device every time you want to talk to Gemini. Thanks to Dan on Telegram for the tip! submitted by /u/MishaalRahman [link] [comments]

Read more

Web Scraping Question /u/WeAllPayTheta Python Education

Web Scraping Question /u/WeAllPayTheta Python Education

Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included.

|| || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>|

submitted by /u/WeAllPayTheta
[link] [comments]

​r/learnpython Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included. || || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>| submitted by /u/WeAllPayTheta [link] [comments] 

Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included.

|| || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>|

submitted by /u/WeAllPayTheta
[link] [comments]  Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included. || || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>| submitted by /u/WeAllPayTheta [link] [comments]

Read more

Day 2 learn python /u/susi_ganesh Python Education

Day 2 learn python /u/susi_ganesh Python Education

More string method: Classification method, case conversation method, counting and searching method. Solved few MCQ. Solved some problems related to above mention topics.

One question I just stucked!!! Write a problem to check whether the given password is valid or not. Consider the password to be valid if it contains at least one uppercase letter.

Sample input1: Python3.8 Sample output1: Valid Password Sample input 2: sample Sample output2: Invalid Password

submitted by /u/susi_ganesh
[link] [comments]

​r/learnpython More string method: Classification method, case conversation method, counting and searching method. Solved few MCQ. Solved some problems related to above mention topics. One question I just stucked!!! Write a problem to check whether the given password is valid or not. Consider the password to be valid if it contains at least one uppercase letter. Sample input1: Python3.8 Sample output1: Valid Password Sample input 2: sample Sample output2: Invalid Password submitted by /u/susi_ganesh [link] [comments] 

More string method: Classification method, case conversation method, counting and searching method. Solved few MCQ. Solved some problems related to above mention topics.

One question I just stucked!!! Write a problem to check whether the given password is valid or not. Consider the password to be valid if it contains at least one uppercase letter.

Sample input1: Python3.8 Sample output1: Valid Password Sample input 2: sample Sample output2: Invalid Password

submitted by /u/susi_ganesh
[link] [comments]  More string method: Classification method, case conversation method, counting and searching method. Solved few MCQ. Solved some problems related to above mention topics. One question I just stucked!!! Write a problem to check whether the given password is valid or not. Consider the password to be valid if it contains at least one uppercase letter. Sample input1: Python3.8 Sample output1: Valid Password Sample input 2: sample Sample output2: Invalid Password submitted by /u/susi_ganesh [link] [comments]

Read more

Python & Flask web hosting /u/crmguy0004 Python Education

Python & Flask web hosting /u/crmguy0004 Python Education

Hello there – Can anyone recommend which web hosting to go with for python with flask website? I am looking for cheap and reliable web hosting to try out , if things work out I plan to pay more as we go!

Thank you

submitted by /u/crmguy0004
[link] [comments]

​r/learnpython Hello there – Can anyone recommend which web hosting to go with for python with flask website? I am looking for cheap and reliable web hosting to try out , if things work out I plan to pay more as we go! Thank you submitted by /u/crmguy0004 [link] [comments] 

Hello there – Can anyone recommend which web hosting to go with for python with flask website? I am looking for cheap and reliable web hosting to try out , if things work out I plan to pay more as we go!

Thank you

submitted by /u/crmguy0004
[link] [comments]  Hello there – Can anyone recommend which web hosting to go with for python with flask website? I am looking for cheap and reliable web hosting to try out , if things work out I plan to pay more as we go! Thank you submitted by /u/crmguy0004 [link] [comments]

Read more