One liner to 100% CPU1 core usage in Python

A Python one-liner that uses 100% CPU1 core usage.

$ python -c 'while True: pass'

Recommended Posts

One liner to 100% CPU1 core usage in Python
One liner webServer (with CGI) in python
One liner that outputs multiplication tables in Python
python Zundko One Liner
Sample to put Python Kivy in one file
One liner that outputs 1000000 digits of pi in Python
One liner to talk somewhere
To flush stdout in Python
Fizzbuzz in Python (in one line)
curl -I python one liner
Login to website in Python
DMD in Python one dimension
Speech to speech in python [text to speech]
How to develop in Python
Post to Slack in Python
One liner to get the nth commit hash in Git
[Python] How to write an if statement in one sentence.
Make python segfault in one line
Convert markdown to PDF in Python
How to collect images in Python
How to use SQLite in Python
In the python command python points to python3.8
Try to calculate Trace in Python
How to convert 0.5 to 1056964608 in one shot
How to use Mysql in python
How to wrap C in Python
How to use ChemSpider in Python
6 ways to string objects in Python
How to use PubChem in Python
Elementary ITK usage learned in Python
How to handle Japanese in Python
An alternative to `pause` in Python
How to display legend marks in one with Python 2D plot
How to calculate "xx time" in one shot with Python timedelta
Handle multiple python versions in one jupyter
I tried to implement PLSA in Python
[Introduction to Python] How to use class in Python?
Try logging in to qiita with Python
CGI server (1) python edition in one line
Install Pyaudio to play wave in python
I tried to implement permutation in Python
Method to build Python environment in Xcode 6
How to dynamically define variables in Python
How to do R chartr () in Python
Send email to multiple recipients in Python (Python 3)
Convert psd file to png in Python
Sample script to trap signals in Python
I tried to implement PLSA in Python 2
To set default encoding to utf-8 in python
Decorator to avoid UnicodeEncodeError in Python 3 print ()
How to work with BigQuery in Python
Log in to Slack using requests in Python
How to get a stacktrace in python
How to display multiplication table in python
Easy way to use Wikipedia in Python
How to extract polygon area in Python
When looking at memory usage in Python 3
How to check opencv version in python
I tried to implement ADALINE in Python
[Python] Pandas to fully understand in 10 minutes
Throw Incoming Webhooks to Mattermost in Python