Can we view all of the possible commands or parameters for "import" functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we view all of the possible commands or parameters for "import" functions?

I'd like to see a complete list of everything I can do for each function. For example, if I 'Import socket', is there a way for me to print a list of all possible options for "socket"? Thanks in advance!

5th Mar 2020, 12:11 AM
Ken S
Ken S - avatar
3 Answers
+ 2
not sure it is what you need, but try: help(socket)
5th Mar 2020, 12:17 AM
Mihai Apostol
Mihai Apostol - avatar
+ 1
Mihai Apostol That's it! Easy enough. Thanks!
5th Mar 2020, 12:50 AM
Ken S
Ken S - avatar
0
Ken You're welcome.
5th Mar 2020, 5:31 AM
Mihai Apostol
Mihai Apostol - avatar