how to get help for certain methods like split() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to get help for certain methods like split()

I use --help in Linux terminal for short help, like to know similar option for python simple methods. I specially means only short description about the same

21st Feb 2017, 6:00 PM
chiju
chiju - avatar
2 Answers
+ 2
Use __doc__ method. Like in here: http://www.sololearn.com/app/JUMP_LINK__&&__python__&&__JUMP_LINK/playground/cD038JiX93Zw/ Or just read documentation in internet)
21st Feb 2017, 8:00 PM
Leshark
Leshark - avatar
+ 1
In the interpreter, you can use help(str.split) or even, if you use Jupyter (IPython), use str.split?
21st Feb 2017, 9:50 PM
Amaras A
Amaras A - avatar