Refactoring: Prepare Your Code to Get Help

At some point in your Python journey, you’ll look to other programmers for help with a sticking point in your code. When that day comes, it’s important to make sure that you’re asking a clear question and that the code is accessible and executable. If you can make it easier for people to help you out, then you’re more likely to get the answers that you need.

In this video course, you’ll learn how to:

  • Write a clear, concise question using how or why
  • Remove obstacles and visual clutter from your code
  • Improve your code by refactoring
  • Raise and catch exceptions within nested functions

You’ll get insight from two Real Python team members in this Code Conversation. To connect with fellow programmers and have your own code conversations, you can join the Real Python community.

What’s Included:

Downloadable Resources:

Get to the Core of the Question

2 Lessons 9m

  1. 1. Clean Up the Code03:34
  2. 2. Answer the Question05:28

About Philipp Acsany

Philipp is a core member of the Real Python team. He creates tutorials, records video courses, and hosts Office Hours sessions to support your journey to becoming a skilled and fulfilled Python developer.

» More about Philipp

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

← Browse All Courses