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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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