Scroll to top

Python Code

Posted by JBT
December 27, 2015

Python String Replace

Python offers several string replacement methods. Here we will cover two very useful methods.
Continue Reading

Read More
Posted by JBT
December 27, 2015

Python String Concatenation

String concatenation is likely something you will need sooner or later. Python offers several possibilities to fulfill this task. Here we will present two of the most common methods. The first method is using the +-operator. The following snippet provides an example:
Continue Reading

Read More
Posted by JBT
December 27, 2015

Python date to string

In Python you can use the datetime module to work with dates and temporal data. A typical way to use it as such:
Continue Reading

Read More
Posted by JBT
December 27, 2015

Python date comparison

Comparing dates (or datetime objects) in Python is very easy. The basic comparison operators (==, !=, <>, >, <, >=, <=) are overloaded for the datetime object, so comparing dates is very intuitive and quick.
Continue Reading

Read More