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

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:

主站蜘蛛池模板: 云和县| 苗栗市| 大关县| 张家川| 普定县| 禄劝| 无为县| 故城县| 噶尔县| 饶平县| 马边| 南漳县| 灵川县| 油尖旺区| 建瓯市| 韩城市| 行唐县| 萨嘎县| 兴隆县| 铁岭县| 清水河县| 宝坻区| 浦江县| 开原市| 平安县| 遂溪县| 汨罗市| 绥宁县| 慈溪市| 东辽县| 湘西| 富宁县| 西宁市| 惠东县| 海伦市| 伊宁市| 天水市| 民权县| 霸州市| 西昌市| 元谋县|