Tagged articles
5 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Jan 24, 2022 · Fundamentals

Techniques to Exit Nested Loops in Python

This article explains several Python techniques—using identical break conditions, flag variables, exceptions, loop‑else clauses, and function returns—to exit nested loops, demonstrated through a prime‑number game where the program stops when a non‑prime input is entered.

Exception HandlingLoopsPython
0 likes · 6 min read
Techniques to Exit Nested Loops in Python
360 Tech Engineering
360 Tech Engineering
Nov 14, 2019 · Backend Development

Building a Simple TCP Port Scanner in Go

This article walks through creating a lightweight TCP port scanner in Go, covering basic TCP handshake theory, single‑port testing, looping over ports, adding concurrency with WaitGroup, implementing timeouts, using the flag package for command‑line options, and handling race conditions with a mutex.

GoNetwork programmingPort Scanner
0 likes · 8 min read
Building a Simple TCP Port Scanner in Go