A python wrapper around shell syntax