Skip to main content

Best python print function

Project description

print-function

image image Build Status

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

print-function-1.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

print_function-1.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page