Python - Use Help Function to Learn About Classes or Functions

Published: 18 August 2021
on channel: codevev
353
13

#Python #Shorts
This is helpful especially when working with other peoples' code and they are good at documenting it :)
By calling the "help" function on an instance of an object or a function (without invoking the function), it will produce a nice-looking output telling you all it knows about such object or function.
And if there's nothing useful, well, then blame whoever wrote the code without documenting it!

-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter:   / evgenyurubkov  
Instagram:   / evgenyurubkov  
Youtube:    / @codevev  


Watch video Python - Use Help Function to Learn About Classes or Functions online without registration, duration hours minute second in high quality. This video was added by user codevev 18 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 353 once and liked it 13 people.