root@quad7:~/api# gunicorn hand2:api
[2017-09-18 14:31:21 +0300] [10904] [INFO] Starting gunicorn 19.7.1
[2017-09-18 14:31:21 +0300] [10904] [INFO] Listening at: http://127.0.0.1:8000 (10904)
[2017-09-18 14:31:21 +0300] [10904] [INFO] Using worker: sync
[2017-09-18 14:31:21 +0300] [10907] [INFO] Booting worker with pid: 10907
root@quad7:~# curl 127.0.0.1:8000
"{\"status\": \"success\"}"
yeger@mypc:~$ curl site.com:8000
curl: (7) Failed to connect to site.com port 8000: В соединении отказано
name = 'John'
a = f'My name is {name}'
My name is John
['n6fbanana' , 'n6fapple']
man ls
) В этой справке можно найти описание команды, все ключи, коды ошибок и прочее.