Viewing and working with data

The Data tab offers us a nice and clean way to inspect the values of the variables in the Python program. In the following steps, we will explore its capabilities with our example program:

  1. First, let's shift our attention to the Python Console panel, which appeared (most likely) at the bottom of the project window when we ran our program in the console. On the right-hand side of the panel, we can see a section that lists all the variables in our program and their respective values. Our variables should look similar to the following:
Variable viewer in the Python Console panel
  1. Now, we can inspect the values ...

Get Hands-On Application Development with PyCharm 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.