Skip to content

Commit

Permalink
Launch notebooks in home directory by default (requires recent IPytho…
Browse files Browse the repository at this point in the history
…n master)
  • Loading branch information
takluyver committed Jan 23, 2015
1 parent 15829c1 commit c52790f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nbopen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def nbopen(filename, profile='default'):
elif filename.startswith(home_dir):
print("Starting new server")
notebookapp.launch_new_instance(file_to_run=os.path.abspath(filename),
notebook_dir=home_dir,
open_browser=True,
argv=[], # Avoid it seeing our own argv
)
Expand Down

0 comments on commit c52790f

Please sign in to comment.