Controleren of een variabele bestaat
Als je wilt weten of een variabel bestaat en dus beschikbaar is, dan kan je een try-except blok gebruiken:
try:
x
except NameError:
x = None
De variabele x krijgt hier None toegewezen als x nog niet bestaat.


Spyder
Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts
https://pypi.org/project/spyder/

PyCharm
The Python IDE for Professional Developers
https://www.jetbrains.com/pycharm/

Python functions
Python functions
https://docs.python.org/3/library/functions.html