Можно много за что ругать корпорации и современное устройство различных продуктов и сервисов, но важно понимать, что они — победители эволюционной гонки. Если вас удивляет, почему какой-то замечательный продукт не сделан, то варианта два:
1. Вы открыли совершенно новую идею, которая не пришла в голову ни единому человеку до вас;
2. Это никому не нужно.
Угадайте, какой случай вероятнее. Условного Инстаграма без рекламы не существует не из-за того, что его никто не может сделать, а из-за того, что за него никто не станет платить. Почему-то так вышло, что мусор в информационно-визуальном поле для большинства людей является меньшей проблемой, тем потеря нескольких долларов в месяц (сколько стоила бы платная подписка, чтобы компенсировать отсутствие заработка на рекламе).
Каждый раз, когда вы встречаете плохой продукт (забитую говном соцсеть, урезанный по функциям гаджет, скучный фильм с одними эффектами, скам-дрочилью без геймплея), который можно было бы сделать лучше, задайте себе вопрос: "Сколько людей захотят за это платить?".
#life#web
https://www.tutorialspoint.com/python/python_networking.htm
Python provides two levels of access to network services. At a low level, you can access the basic #socket support in the underlying operating system, which allows you to implement #clients and #servers for both connection-oriented and connectionless protocols.
Evented Django part one: Socket.IO and gevent
#Socket.IO was developed with a #Node.JS server implementation, but work is being done to add server implementations to a variety of languages. Two such servers exist for Python, tornadio and #gevent-socketio. I'm a big fan of gevent, so I will use gevent-socketio, but tornadio looks well-written and very promising.
http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent/
https://pythonspot.com/en/python-network-sockets-programming-tutorial/
Python network sockets programming tutorial
In this tutorial you will learn about in #network programming. You will learn about the #client-#server model that is in use for the World Wide Web, E-mail and many other applications.
#socket
http://www.techbeamers.com/python-tutorial-essentials-of-python-socket-programming/
Essentials of Python #Socket Programming You Should Know
Python offers two types of #API libraries that we can use for socket programming. At the low-level, Python utilizes the “socket” library to implement #client and #server#modules for both #connectionless and #connection-oriented #network protocols. Whereas, at the higher-level, You can use libraries like #ftplib and #httplib to interact with application-level network protocols like #FTP and #HTTP.