#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
Смотрите видео Python - Use Help Function to Learn About Classes or Functions онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь codevev 18 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 353 раз и оно понравилось 13 людям.