Overview The goal of this article is to write a short introduction to IPython. While IPython has two main components (an interactive Python Shell and … [Read more...] about IPython a short introduction
How to use urllib2 in Python
Overview While the title of this posts says "Urllib2", we are going to show some examples where you use urllib, since they are often used … [Read more...] about How to use urllib2 in Python
Keywords in Python
What are keywords? Keywords in Python are reserved words that cannot be used as ordinaryidentifiers. They must be spelled exactly as they are … [Read more...] about Keywords in Python
Regular Expressions in Python
What is a Regular Expression? It's a string pattern written in a compact syntax, that allows us to quickly check whether a given string matches or … [Read more...] about Regular Expressions in Python
Python’s OS Module
Overview The OS module in Python provides a way of using operating system dependent functionality. The functions that the OS module provides allows … [Read more...] about Python’s OS Module
Date and Time Script
Overview This script can be used to parse date and time. Open a blank file and name it for example dateParser.py. Copy and paste the code below (and … [Read more...] about Date and Time Script
Python If…Elif…Else Statement
What are Conditions? Conditions tests if a something is True or False, and it uses Boolean values (type bool) to check that. You see that … [Read more...] about Python If…Elif…Else Statement
Using the Requests Library in Python
First things first, let’s introduce you to Requests. What is the Requests Resource? Requests is an Apache2 Licensed HTTP library, written in Python. … [Read more...] about Using the Requests Library in Python
How to Use Python virtualenv
While programming, we sometimes make errors that can make undesirable changes to our system. To avoid this, we often use virtual environments. In this … [Read more...] about How to Use Python virtualenv
SSH Connection with Python
Overview Last week I wrote an article about the pexpect module in Python and how you can use it to take care of some of the automation needs, like ssh … [Read more...] about SSH Connection with Python