/ Anaconda  

Anaconda学习之路 Ⅰ - IPython

IPython是交互式任务的专用工具,它的特殊命令能够帮助开发人人员更好的理解正在编写的代码。
踩坑1:IPython是交互式命令行!魔术函数在控制台里输入,不要像我一样傻不拉几写到.py里,不报错才怪【掩面

  • ?与??
    输出的详细描述。??比?更详细(书上这么写的,我自己暂时没看出来…但的确是都能用的)

    举个栗子
    t?
    Type: int
    String form: 1
    Docstring:
    int(x=0) -integer
    int(x, base=10) -integer

    Convert a number or string to an integer, or return 0 if no arguments
    are given. If x is a number, return x.int(). For floating point
    numbers, this truncates towards zero.

    If x is not a number or if base is given, then x must be a string,
    bytes, or bytearray instance representing an integer literal in the
    given base. The literal can be preceded by ‘+’ or ‘-‘ and be surrounded
    by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
    Base 0 means to interpret the base from the string as an integer literal.
    int(‘0b100’, base=0)
    4