© Kristian Rother 2017

Kristian Rother, Pro Python Best Practices, 10.1007/978-1-4842-2241-6_7

7. Using an Interactive Debugger

Kristian Rother

(1)Berlin, Germany

A debugger is like doing a full-body scan on a sick person.

—Zed Shaw, Learn Python the Hard Way

www.​learnpythontheha​rdway.​org

We now have all the parts in place to get the first version of our game running. We only need to combine the functions of drawing the map, moving the player, and running the event loop. Thus, we will import the modules written so far, add some code to glue them together, run the program, and play! Well, at least this is the theory. Do you think the components will cooperate smoothly at the first attempt? I don’t want to disappoint you at the beginning of the ...

Get Pro Python Best Practices: Debugging, Testing and Maintenance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.