[Intro to Python as a First Language] Exploring 'try' and Exceptions w/ Pokemon! Inheritance review

Channel:
Subscribers:
860
Published on ● Video Link: https://www.youtube.com/watch?v=rJuaza3ssKg



Category:
Review
Duration: 2:17:46
23 views
1


In this episode, we review much of what we've learned so far (as always), including inheritance, classes, and the basics of object-oriented programming.

Things get really interesting, though, once we step into new territory by looking at Exceptions for the first time, including KeyError and NameError, and then we use 'try' and 'except' blocks to turn what would have been a crash-scenario into our favor! We even define our own type of Exception to raise and deal with when a Pokemon's move runs out of PP. Pretty neat!

As always, you can find this episode's code on github at http://github.com/vencabot/intro_to_python/pokemon_example ! If you have any questions, feel free to ask me live on Twitch, or just leave a message here in the YouTube comments, or get a hold of me on Discord, or on Twitter, etc., etc. I'm not a hard guy to find! :D

Keep the good times rolling at https://www.patreon.com/vencabot
Watch the show live at https://www.twitch.tv/vencabot
Hang with us on Discord using https://discordapp.com/invite/Y2tETWA
Keep up-to-date at https://twitter.com/vencabot




Other Videos By Vencabot


2018-11-29[3rd Strike] 07/11/18: Basics training with [DBH] HG! This dude learns quick!
2018-11-28[God of War (2005)] Ep. 13: "I AM THE NEW GOD OF WAR or whatever! Cloud-watching Boogaloo!"
2018-11-27[3rd Strike] 07/11/18: Diego_Ro's Ryu, aStuffyMuffin: Hugo Hammers! Anti-Yun training
2018-11-25[Intro to Python as a First Language] Pokemon gamedev finale! Bringing it together. Modules!
2018-11-25[3rd Strike] 07/10/18: Ban Jewna2's Makoto, Aegis mirrors, khachik vs Venca series!
2018-11-24[Demon's Souls] Ep. 8: "Stonefang Tunnel Boss Time! Flamelurker-merker Boogaloo!"
2018-11-23[3rd Strike] 11/20/22: Jazzy Online Fundraiser Tournament #2: Top 8 & Finale! Mind-blowing matches
2018-11-23[3rd Strike] 11/20/18: Jazzy Online Fundraiser Tournament #2 begins! 16 fighters square up!
2018-11-21[God of War (2005)] Ep. 12: "I Dunno, Aries... I'm Pretty Tall. Salty Final Boss Boogaloo!"
2018-11-20[3rd Strike] 07/10/18: Mexi demonstrates Yun, Locust's Necro representin'!
2018-11-19[Intro to Python as a First Language] Exploring 'try' and Exceptions w/ Pokemon! Inheritance review
2018-11-18[3rd Strike] 07/09/18: acslayer's Yun assault! Mutant's Remy, Super-parrying my gawd!
2018-11-17[Demon's Souls] Ep. 7: "Cut Me Some Slack, Slowesha! Welcome to Hell Boogaloo"
2018-11-16[3rd Strike] Jazzy Online Fundraiser Tournament: How to Play!
2018-11-16[3rd Strike] 07/05/18: neem's Q my gawd, kiji's mighty Oro, Threevenge training Ken!
2018-11-15[God of War (2005)] Ep. 11 [LOST]: "Pandora's Box, FINALLY! Kratos Goes to Hell Boogaloo"
2018-11-14[3rd Strike] 07/04/18: Four warriors battle; Chun-li vs Ibuki, kiji's Makoto smackdown!
2018-11-13[Intro to Python as a First Language] More on classes, inheritance, dict's! Pokemon example
2018-11-10[3rd Strike] 11/06/18: Jazzy Online Fundraiser Tournament #1, Top 8!
2018-11-10[3rd Strike] 11/06/18: Jazzy Online Fundraiser Tournament #1, Venca in Micro-Pools
2018-11-09[3rd Strike] 07/04/18: The Lag Lobby! Pyteria's Elena, RBOX_TOWN_G brings Akuma!



Tags:
software
tutoring
twitch
learning to program
long play
vencabot
game play
dev
programming
education
learning
engineering
intro
coding
intro to python
letsplay
commentary
lets
program
stream
long
creative
longplay
tutor
educational
gameplay
game
let's play
let's
lets play
python
play
development
gaming