Browsing Category
Python
212 posts
Python is a general-purpose, high-level programming language. It is known for its elegant syntax and its focus on code readability. Python is dynamically typed, which means that the type of a variable is not declared at compile time. This can make Python code more concise and easier to read.
Setting basic client with the socket module
Shebang and Importing Modules Creating and Connecting the Socket Setting Target Host and Port Establishing Connection Sending HTTP…
The socket module, server and client socket methods
The socket module in Python provides a low-level interface to network sockets, which are the fundamental building blocks…
what is socket raw and how to implement in python
In networking, a raw socket allows direct access to the underlying communication protocols at the transport layer, such…
what are sockets and network sockets in python
Sockets provide a communication mechanism between processes, typically over a network. They enable data exchange between a client…
Working with socket.io in python
Socket.IO is a real-time web library that enables bidirectional communication between web clients and servers. It is built…
Using Subprocess Module to Ping the Website: Complete Python Network Connectivity Testing Guide
I wrote my first “ping a website” script while debugging an intermittent outage for a small side project…
Write a Program That Concatenates Two Linked Lists of Characters in Python: Complete Implementation Guide
I ran into this exact problem while preparing for technical interviews, and what struck me was how much…
Develop a Function to Implement Binary Search: Complete Python Algorithm and Implementation Guide
I remember the exact moment binary search clicked for me — I was searching through a sorted list…
Write a Function to Implement Linear/Sequential Search: Complete Python Search Algorithm Tutorial
Linear search was the first algorithm I ever wrote without realizing I was writing an “algorithm” at all…