Sorting IP addresses

How to sort a list of strings that represent IP addresses? Of course, you could supply an appropriate comparison function […]

A simple HTTP Server

A simple HTTP Server can be started in seconds. python -m SimpleHTTPServer For Python3: python -m http.server The server starts […]

TCP server demo in Python

import socket import threading bind_ip = “” bind_port = 9999 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((bind_ip,bind_port)) server.listen(5) print “[*] Listening on […]

Curl websites from Phyton

#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: $ import os, sys try: from cStringIO […]


wxPython, a blending of the wxWidgets C++ class library with the Python programming language. Windows  with python

Python Programming

I find python easy for beginners and powerful for many apps. Check this page for documentation and material.