Python Code Blocks and Debugging (Spyder 5 IDE)
This video is an overview of the inbuilt Python programming language and will focus on structuring your code using code blocks. Before looking at this video you should have already installed the Anaconda Python Distribution, made yourself comfortable with the Spyder 5 IDE and procedural programming which are covered in my earlier tutorial videos and written guide linked below. Code blocks can be used to control what code within a script is ran by using if, elif and else code blocks or to execute n times using a for loop or want to run code while a certain condition is True using a while loop.
Written Guides:
https://dellwindowsreinstallationguide.com/python/
Python Playlist:
https://www.youtube.com/playlist?list=PL1RkaknDn7v-EO4V38oDBkZNd6_530nan
#python #spyder #codeblocks
00:00:59 concept of a code block
00:01:13 if code block
00:06:34 if and else code blocks
00:09:31 if elif, elif, … , else code blocks
00:12:03 nested if, elif, else, code blocks
00:14:39 for loops
00:31:22 creating a custom function
00:41:15 scope
00:45:14 functions with nested conditional code blocks
00:48:18 *args and **kwargs
00:50:10 function with nested for loop
00:51:16 while loops
00:59:30 asserting function input arguments
01:01:06 try, except, else, finally code blocks
01:03:38 lambda expressions
01:10:15 list comprehension
Once you have understood Procedural Programming and Code Blocks, you should be ready to explore the concept of Object Orientated Programming covered in my next video.