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

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:

主站蜘蛛池模板: 榆林市| 滕州市| 镇巴县| 东明县| 马龙县| 洛宁县| 湖南省| 太康县| 吉安县| 临洮县| 徐闻县| 泰安市| 怀宁县| 永胜县| 潮州市| 元谋县| 安徽省| 博罗县| 富宁县| 五原县| 迭部县| 滕州市| 磴口县| 铁力市| 临猗县| 浦江县| 阳江市| 射洪县| 上思县| 栾城县| 塔河县| 吉木萨尔县| 南安市| 京山县| 泰州市| 夏津县| 青川县| 彰武县| 平顶山市| 神木县| 武功县|