- There will be times…when you need a program to detect…that some event has occurred,…and then react to that event…by performing a certain action.…To accomplish that, there are two approaches you could use:…polling, or event-driven programming.…With the polling method,…a program is continuously checking and checking and checking…and actively checking for a certain condition to occur,…like a button being pressed.…And when it sees that the condition has occurred,…it'll then perform an appropriate action.…My house is ready for my friends,…so now I'm just waiting…for the pizza delivery guy to get here.…
When the pizza man arrives,…I'll need to perform the appropriate action…by opening the door, and getting the pizza.…So, how will I know when the pizza man…is on the front porch to get my pizza?…Well, I could try the polling method,…and to do that, I'll have to get up off my bed,…then I go down the stairs,…(door opens) I check to see if he's here.…Not yet.…(door closes)…So then I head back up the stairs,…and then I return back to lounging.…
- Reusing functions
- Local vs. global variables
- Creating and naming custom objects
- Class inheritance
- Modules and packages
- Multidimensional lists and tuples
- Queues and stacks
- Creating and combining sets
- Storing data in dictionaries
- If/else and switch statements
- For vs. while loops
- Error handling
- Polling and event-driven programming
Skill Level Beginner
3. Class Inheritance
4. Modules and Packages
5. Lists and Tuples
6. Queues and Stacks
9. Conditional Execution
11. Error Handling
12. Polling and Event-Driven Programming
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.