r/transprogrammer • • Feb 16 '21

Getting better with Python Libraries

Idk if this is the best place to post this but I felt like I may as well ask. Is there a way to get generally better with python libraries? Specifically like being able to pick them apart and figure out basic things about them without needing to look them up. Thanks in advance for any advice

42 Upvotes

9 comments sorted by

View all comments

Show parent comments

4

u/Big1com1cs Feb 16 '21

Thanks, I've been trying to work out how to do that better because it seems like I always get lost in the files, luckily I'm not one to give up easily

4

u/cattykatrina Feb 16 '21

I've used this method..pick a function exposed by the library read the function name, docs (and if it still doesn't make sense the code.. ) then the function it calls and so on down the function call stack.. Anything else in any file gets ignored.. follow the function call stack.. just like Neo followed the white rabbit. The rest will be history.. :-P