I am a relatively new Python user. I am trying to replicate a series of modules and classes discussed in textbooks. Even though I have all the libraries available in Python that are imported in the code I am replicating, I am still get a lot of error messages like:
‘NameError: name <insert name> is not defined’
To me, this means either:
- I do not have all libraries I need;
- I have not been able to successfully import all libraries.
My questions are:
When I am in Jupyter, or in IDLE, how can I tell what libraries I have successfully imported?
For the libraries I have imported, how can I tell what functions there are available to me (so that I can check if the functions that give a NameError are in the libraries I imported)?