ls /usr/bin/python*
sudo apt-get remove python3.5
sudo apt-get remove --auto-remove python3.5
sudo apt-get purge python3.5
| import multiprocessing #:) | |
| def do_this(number): | |
| print number | |
| return number*2 | |
| # Create a list to iterate over. | |
| # (Note: Multiprocessing only accepts one item at a time) | |
| some_list = range(0,10) |
| """ | |
| Usage: | |
| Make sure that redis is running on localhost (or adjust the url) | |
| Install uvicorn or some other asgi server https://asgi.readthedocs.io/en/latest/implementations.html | |
| pip install -u uvicorn | |
| Install dependencies |