官术网_书友最值得收藏!

The help() function

While getting started, it is going to be difficult to remember the syntax of every function in Python. It is possible to refer to a function's documentation and syntax using the help function in Python. For example, in order to find the use of the print function in Python, we can call help on the command-line terminal or the interactive shell as follows:

    help(print)

This would return a detailed description of the function and its syntax:

主站蜘蛛池模板: 长葛市| 井研县| 乌鲁木齐县| 敖汉旗| 屏东市| 永春县| 精河县| 长沙市| 杨浦区| 廉江市| 中西区| 涿州市| 石嘴山市| 盐城市| 衡阳市| 綦江县| 玉门市| 如东县| 康平县| 德昌县| 阆中市| 铁岭市| 浪卡子县| 灵丘县| 白朗县| 新沂市| 沧州市| 民勤县| 文昌市| 壤塘县| 江永县| 长葛市| 平和县| 鄂温| 江川县| 宁远县| 博兴县| 龙南县| 乌审旗| 津市市| 和龙市|