holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 34 forks source link

Running ipynb file on Carnets Jupyter notebook #266

Open bebopimpromptu opened 2 years ago

bebopimpromptu commented 2 years ago

Hi. I'm new on Carnets, so probably the answer to my question is an easy one.

When I try to run an ipynb file from the Jupyter notebook:

%run 'path/file.ipynb'

it says:

Exception: File `'path/file.ipynb.py'´not found.

What line command do I have to write?

Thanks.

holzschu commented 2 years ago

Hi, I cannot reproduce the issue (%run works on my machine). The problem might be with the actual path, or maybe the quotes.

bebopimpromptu commented 2 years ago

Hi. Thanks for your answer.

I attached a screenshot, maybe it helps.

The thing is that the error says about a .py file not found instead a .ipynb files.

photo_5095969308361730549_y

holzschu commented 2 years ago

The main problem, I think, is that the path "/Users/jlcb/Desktop/tableF..." does not exist. Files are not organized that way on the iPad. You can specify a local path, such as "lib_to_run.ipynb", or with folders: "TELCOpy/lib_to_run.ipynb".

bebopimpromptu commented 2 years ago

Thanks. I will look.

bebopimpromptu commented 2 years ago

I noticed that I had to upload the file. It works now. Thanks