Archive for January, 2015

Python: Tips, Tricks and Idioms – Part 1

January 30, 2015 Leave a comment

A must read

Categories: Interesting, python

Text manipulation with paste command

January 21, 2015 Leave a comment

Awesome post from Zipzap

Unix/Linux and Ubuntu tips-and-tricks

Have a look at the power of the “paste” comand – it just solves a bunch of situations with ease, and its litle known… transpose pair a lines into 2 columns, etc…

Have a look to these examples to get an idea of “paste” power…

View original post

Categories: bash, Interesting Tags:

Cutting and Slicing strings in python

January 21, 2015 Leave a comment

I needed to get alternative characters in a string.


>>> word = “Mouse”
>>> word[::2]
>>> word[1::2]