+ 2

Import

Hi, I have a question. How can I get a list from which module which variable can be imported. How to remember this. Because python is having so many libraries and inside that so many variables are there. Please help me. I am really facing this issue and not being able to memorize.

5th Feb 2018, 2:20 AM
SANDEEP B
SANDEEP B - avatar
2 Réponses
5th Feb 2018, 6:46 AM
David Ashton
David Ashton - avatar
+ 3
Don't try to memorize the entire standard library! That's insane. Just remember some modules that you really use a lot (e.g. socket, for me). To find a list of all the modules, their methods, variables, etc., see https://docs.python.org/3/library/index.html.
5th Feb 2018, 4:22 AM
LunarCoffee
LunarCoffee - avatar