nbopen | Open a Jupyter notebook in the best available server | Code Editor library
kandi X-RAY | nbopen Summary
kandi X-RAY | nbopen Summary
Open a Jupyter notebook in the best available server
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Open a notebook
- Find the best server to use
- Create a new notebook
nbopen Key Features
nbopen Examples and Code Snippets
call "C:\Users\XYZ\Anaconda3\Scripts\activate.bat"
call conda activate myEnvironment
call python C:\Users\XYZ\Anaconda3\Scripts\jupyter-notebook-script.py %1
PS> (gcm nbopen).Path
E:\Programs\anaconda\Scripts\nbopen.exe
Community Discussions
Trending Discussions on nbopen
QUESTION
I've been trying to figure out how I can open a .ipynb file on double-click on a Mac, so the file opens with Anaconda and then automatically opens Jupyter Notebook with the file contents.
I have tried creating an application through Automator that opens with a jupyter_lab command, but the issue is that Jupyter lives in Anaconda, so this method is not working. See these articles for my steps: https://samedwardes.com/2020-01-31-open-ipynb-with-double-click/ and Open an ipython notebook via double-click on osx
I have also tried installing nbopen
with the following:
python3 -m pip install nbopen
This works, and then I can run nbopen file.ipynb
through the terminal, but I want to be able to bypass this step and do it while in file explorer, physically looking at the file instead.
I have ran the recommended command for osx to integrate it with file manager ./osx-install.sh
but I just get zsh no such file or directory
and can't really find any help with figuring out why this is pushing back an error.
Any suggestions?
...ANSWER
Answered 2020-Sep-10 at 08:03I have this "convenience issue" as well, and didn't go for the nbopen route, but instead, I just made a batch script (I named it jupyter-notebook.bat) that calls certain conda functions, and pretty much initiates things like how double clicking works. In the script, I just have this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nbopen
You can use nbopen like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page