Make the Python console covered with UNKO

As I learned from "Python of the Ministry of Education is not Python", Python can overwrite built-in functions as well. So, when I looked it up, I found that ``` builtins. ()` `` Can also call the original built-in function. That means even at the beginning of the program

import builtins
def print(str):
    builtins.print('UNKO')

If you put it in, no matter what you print () 2019-11-07_010140.png It will be like this.

Recommended Posts

Make the Python console covered with UNKO
Make a breakpoint on the c layer with python
Make Puyo Puyo AI with Python
Make a fortune with Python
Call the API with python3.
The first API to make with python Djnago REST framework
Extract the xz file with python
Make Echolalia LINEbot with Python + heroku
Make apache log csv with python
Let's make a GUI with python.
Get the weather with Python requests
Get the weather with Python requests 2
Find the Levenshtein Distance with python
Hit the Etherpad-lite API with Python
Install the Python plugin with Netbeans 8.0.2
[Python] Make the function a lambda function
Make a recommender system with python
I liked the tweet with python. ..
Master the type with Python [Python 3.9 compatible]
Let's make a graph with python! !!
[Python] Set the graph range with matplotlib
Let's make a shiritori game with Python
Behind the flyer: Using Docker with Python
Check the existence of the file with python
[Python] Get the variable name with str
Output Python log to console with GAE
[Python] Round up with just the operator
Display Python 3 in the browser with MAMP
Fractal to make and play with Python
Clogged with python update of GCP console ①
Search the maze with the python A * algorithm
Let's read the RINEX file with Python ①
Working with OpenStack using the Python SDK
Let's make a voice slowly with Python
Make pypy submission easier with atcoder-cli (python)
Download files on the web with Python
[Python] Let's make matplotlib compatible with Japanese
Learn the design pattern "Singleton" with Python
[Python] Automatically operate the browser with Selenium
Let's make a web framework with Python! (1)
Make a desktop app with Python with Electron
Let's make a Twitter Bot with Python!
Let's make a web framework with Python! (2)
Learn the design pattern "Facade" with Python
The road to compiling to Python 3 with Thrift
I tried "smoothing" the image with Python + OpenCV
FizzBuzz with Python3
Make Python scripts into Windows-executable .exes with Pyinstaller
Scraping with Python
[Python] Get the files in a folder with Python
Load the network modeled with Rhinoceros in Python ③
Prepare the execution environment of Python3 with Docker
Make a Twitter trend bot with heroku + Python
Statistics with python
Show / hide panels in the QGIS Python console
[Python] Make a game with Pyxel-Use an editor-
2016 The University of Tokyo Mathematics Solved with Python
I tried "differentiating" the image with Python + OpenCV
Scraping with Python
Find the mood value with python (Rike Koi)
Python with Go