知行编程网知行编程网  2022-11-27 03:30 知行编程网 隐藏边栏  8 
文章评分 0 次,平均分 0.0
导语: 本文主要介绍了关于python如何查找在线帮助?的相关知识,包括python 查找字符串,以及如何用python查找资料这些编程知识,希望对大家有参考作用。

python如何查找在线帮助?

使用python时,需要查看一些简单命令的含义和用法,直接help(command)即可。

示例:

>>>help(input)
    Help on built-in function input in module builtins:
    input(prompt=None, /)
        Read a string from standard input.  The trailing newline is stripped.
    The prompt string, if given, is printed to standard output without a
    trailing newline before reading input.
    If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.
    On *nix systems, readline is used if available.

本文为原创文章,版权归所有,欢迎分享本文,转载请保留出处!

知行编程网
知行编程网 关注:1    粉丝:1
这个人很懒,什么都没写
扫一扫二维码分享