Code

Paramiko in Python

What is Paramiko? Paramiko is a Python library for Secure Shell (SSH) protocol implementation, which enables Python applications to access, configure, and manage remote servers securely. Paramiko is not part of Python’s standard library. It is primarily used for automating system administration tasks, transferring files securely, and establishing secure connections to remote systems. When your …

Paramiko in Python Read More »

xmlhttp: A Simple XML-Over-HTTP Class

This module implements a simple helper class, HTTPClient, which can send an XML document (represented either as an element tree or a string) to a remote server, and parse the result into an element tree. A Simple XML-Over-HTTP Helper (File: HTTPClient.py) The main workhorse is the do_request method, which uses the httplib library module for all protocol-related stuff. The HTTP class represents a connection …

xmlhttp: A Simple XML-Over-HTTP Class Read More »

The Tkinter Spinbox Widget

When to use the Spinbox Widget The Spinbox widget can be used instead of an ordinary Entry, in cases where the user only has a limited number of ordered values to choose from. Note that the spinbox widget is only available in Python 2.3 and later when linked against Tk 8.4 or later. Also, note that several …

The Tkinter Spinbox Widget Read More »

The Consumer Interface in Python

The consumer interface is a simple “data sink” interface, used by standard Python modules such as xmllib and sgmllib. Other examples include the GZIP consumer and PIL’s ImageParser class. The consumer will typically convert incoming raw data in some way, and pass it on to a another layer. For example, XML parsers implementing this protocol usually parse the data stream into a stream of …

The Consumer Interface in Python Read More »

API

Application Programming Interface (API) in simple terms

In this post, we will see what an Application Programming Interface is in simple terms with examples and elaborate on its use in various systems. What is an Application Programming Interface or API? Application Programming Interface (API) can be considered as a bridge between two different software systems, allowing them to communicate with each other …

Application Programming Interface (API) in simple terms Read More »