0

How can i use help command in python

17th Mar 2023, 3:55 PM
aaryan Vijay
aaryan Vijay - avatar
4 Answers
+ 5
ļæ¼ Python help() function isĀ used to get the documentation of specified module, class, function, variables etc. This method is generally used with python interpreter console to get details about python objects
17th Mar 2023, 4:03 PM
Herobrine
Herobrine - avatar
17th Mar 2023, 4:31 PM
RšŸšŸ‡®šŸ‡³
RšŸšŸ‡®šŸ‡³ - avatar
+ 2
# Hi, aaryan Vijay . Hereā€™s an example: # This will return 'gold'. print('cold'.replace('c', 'g')) # There will be no help function for 'gold'. help('cold'.replace('c', 'g')) # To get help for the string method .replace, don't call it - do like this: help('cold'.replace)
17th Mar 2023, 5:16 PM
Per Bratthammar
Per Bratthammar - avatar
0
help(something)
18th Mar 2023, 12:40 AM
ŠŠ»ŠµŠŗсŠµŠ¹ ŠœŠ¾Š»Š¾Š“Š°Š½
ŠŠ»ŠµŠŗсŠµŠ¹ ŠœŠ¾Š»Š¾Š“Š°Š½ - avatar