代码之家  ›  专栏  ›  技术社区  ›  leeand00

在哪里可以获得python 3中打印函数的Kwarg列表?

  •  1
  • leeand00  · 技术社区  · 6 年前

    我只知道一个Kwarg的打印功能,那是 end= ,还有其他吗?

    我在这里查阅了文档:

    https://docs.python.org/3.1/tutorial/inputoutput.html

    但它似乎不是真正全面的关于 kwarg 用于 print()

    1 回复  |  直到 6 年前
        1
  •  2
  •   iz_    6 年前

    this 你在找什么?

    打印(*objects,sep='',end='\n',file=sys.stdout,flush=false)

    推荐文章