use ipython magic in script

Solutions on MaxInterview for use ipython magic in script by the best coders in the world