pydata

Keep Looking, Don't Settle

change the working directory of ipython in windows

A simpler modification to the Windows Trick above - without the need to hard-code the directory.

A) Create a batch file with the following contents: (Note: A batch file is a simple text file containing commands that can be run in the cmd window. It must have a '.bat' extension, therefore ... you'll need to disable the folder setting which hides extensions of known types)

rem -- start_ipython_notebook_here.bat ---

dir

ipython notebook

pause

B) Copy and paste the batch file to any folder you want to start a notebook server in.

(Make sure it's a folder that you have permission to edit. "C:\" is not a good choice.)

C) Double-click on the batch file in Windows Explorer.

The notebook server should start as it normally does.