switch code blocks to ipython