print-function

时间:2024-06-13 03:21:04
【文件属性】:

文件名称:print-function

文件大小:15KB

文件格式:ZIP

更新时间:2024-06-13 03:21:04

Python

打印功能 安装 $ pip install print-function 用法 如果我们将from ___future___ import *放在我们的python脚本中,它将覆盖我们的打印内容,并变得像 from ___future___ import * print ( "123" ) print ( "BabyRage!" , flush = True ) # output b' \xe5 \xa4 \xa9 \xe7 \x8e \x89 \xe8 \x8a \xb1 \xe8 \xa5 \xbf \xe7 \xbe \x8e ' ' ╭─────────╮' ' |BabyRage!|' ' ╯─────────╯' ' ███]▄▄▄▄▄▄▄▃~~~' ' ▂▄▅█████████▅▄▃▂' '[


【文件预览】:
print-function-master
----setup.py(902B)
----.gitignore(150B)
----example.txt(336B)
----Makefile(87B)
----.travis.yml(471B)
----LICENSE(1KB)
----Pipfile.lock(26KB)
----README.md(1KB)
----tests()
--------__init__.py(0B)
--------test_print_function.py(518B)
----Pipfile(232B)
----___future___()
--------__init__.py(1KB)
----.converagerc(65B)
----tox.ini(344B)

网友评论