Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for print-function, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size print_function-1.0.2-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size print-function-1.0.2.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page