Using Shell Commands Effectively from IPython