print-function

Best python print function


License
MIT
Install
pip install print-function==1.0.2

Documentation

print-function

image image Build Status image

Install

$ pip install print-function

Usage

If we put from ___future___ import * on our python script, it will overwrite our print and become like

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!|'
'            ╯─────────╯'
'       ███]▄▄▄▄▄▄▄▃~~~'
' ▂▄▅█████████▅▄▃▂'
'[████████████████]'
'◥ ⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙ ◤ '

The normal print will be the unicode from random nonsense word and with the option flush=True, it will be a tank(嬰靈戰車) help you to log things