In the Python library file Python34/Lib/socket.py the _socket module is imported:
import _socket
from _socket import *
but I couldn't find _socket anywhere in the library.
Could anybody explain what is _socket?
_socket
is a shared library that provides the C implementation of much of socket.py
. (Indeed, the first line of socket.py
says the module is a wrapper around _socket
.) It isn't meant to be used directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With