'Variable Issues with PyCharm
The problem is I don't know why the Python console shows so many variables on the bottom right and not just the ones in the code. Is it because of the directory?

Solution 1:[1]
you can get dict of all variables using globals() function
global variables is name, doc, file, loader and other
name of file, his directory and others
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | TiMoFey |
