/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.laurentluce.com
| | tenthousandmeters.com
21.8 parsecs away

Travel
| | As you probably know, the GIL stands for the Global Interpreter Lock, and its job is to make the CPython interpreter thread-safe. The GIL allows...
| | begriffs.com
25.9 parsecs away

Travel
| | Detailed guide to POSIX threads (pthreads) with fun examples
| | yasoob.me
26.0 parsecs away

Travel
| | Hi there fellows. In this post I am going to take you on an adventure with python sockets. They are the real backbones behind web browsing. In simpler terms there is a server and a client. We will deal with the client first. So lets first begin by importing the socket library and making a simple socket. import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) Here we made a socket instance and passed it two parameters.
| | yasoob.me
41.1 parsecs away

Travel
| Hi there folks. Again welcome to yet another useful tutorial. This is again a stackoverflow answer. This one is related to the Python yield keyword. It explains you what yield, generators and iterables are. So without wasting any time lets continue with the answer. To understand what yield does, you must understand what generators are. And before generators come iterables. Iterables When you create a list, you can read its items one by one, and its called iteration: