0

How we know the funtions in the third party libraries

Please answer to me

16th Jan 2021, 5:28 AM
Akshay H
Akshay H - avatar
6 Respostas
+ 3
Hi, the best way I would recommend doing it is to read their documentation... The documentation contains a lot of information on how to use it... I hope it helps...
16th Jan 2021, 5:49 AM
Steve Sajeev
Steve Sajeev - avatar
+ 6
If you just want the list of functions/classes/properties in a module or a list of modules in a package, you can use the dir() function. Example import math print(dir(math)) Else, if you want to know what each function or class method does, the best way is to read the offcial documentation of that library. You can also use the help() function, but it is not as detailed as the documentation. Example import math help(math)
16th Jan 2021, 5:33 AM
XXX
XXX - avatar
+ 2
Akshay H who said there is only documentation of built-in functions? Any third party library you use/install, it will have an official documentation. Obviously, no one will make a library without telling users how to use it,
16th Jan 2021, 3:02 PM
XXX
XXX - avatar
+ 2
Your most welcome... Akshay H ... I hope you got it... 😊👍👍💕💕
17th Jan 2021, 3:17 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Yes, there are documentation for 3rd part also. Pls don't say that there is no documentation for 3rd part libs without looking... Just search in google.. You will get the docs of the 3rd party libs
16th Jan 2021, 4:30 PM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Steve Sajeev thank you for your answer
17th Jan 2021, 2:38 AM
Akshay H
Akshay H - avatar