Explanation of functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Explanation of functions

Looking to understand libraries in python. For example, if I were to use the RPi.GPIO library for robotics. How do I know what the functions are. Would there be a list of functions in the library to what they are?

27th May 2020, 7:52 PM
Tommy Shiels
Tommy Shiels - avatar
2 Answers
+ 1
Most well written libraries are well documented on what their function do and how to use them. Go to https://pypi.org/ and it will usually link you to relevant information for that package. For RPi.GPIO it tells you to go here https://sourceforge.net/p/raspberry-gpio-JUMP_LINK__&&__python__&&__JUMP_LINK/wiki/Examples/
27th May 2020, 9:01 PM
JME
0
Thank you!
2nd Jun 2020, 11:52 AM
Tommy Shiels
Tommy Shiels - avatar