Python

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 = “0.0.0.0” 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: test_multi_socket_select.py $ import os, sys try: from cStringIO […]

wxPython

wxPython, a blending of the wxWidgets C++ class library with the Python programming language. Windows  with python http://www.wxpython.org/index.php

Python Programming

I find python easy for beginners and powerful for many apps. Check this page for documentation and material. https://www.python.org/doc/