-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nbopen doesn't create file it it doesn't exist #65
Comments
Whups! Realized |
Yup, it should either create the file, or fail consistently with a short, clear error message. At present, it fails with a load of Jupyter messages ending in a reasonable error if there isn't a server running, and opens a 404 page if there is. I'll have a think about which I prefer. |
I like creating the file, personally. I will see if I can hack on this and
submit a PR!
|
It should be pretty straightforward :-). If you can get a PR in before I've decided what I prefer, I'll go with what you want. |
e.g.
nbopen foo.ipynb
opens the JupyterLab interface iffoo.ipynb
doesn't exist, instead of creating it.Ideally, it would create an empty file of that name and then open it with jupyter. I bet the tricky bit is that you have to guess at the format of the file based on the name...
The text was updated successfully, but these errors were encountered: