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
566 stars 32 forks source link

Creating a python file in carnet #260

Open David5804 opened 2 years ago

David5804 commented 2 years ago

Hi there, I just wonder how can we create a raw python on carnet?

holzschu commented 2 years ago

It's a little more complicated than creating a Python notebook, but you can:

You have now switched to Jupyter file browsing view, and you can create a new text file with "New" (and then rename it to "something.py").

Alternative method: type !touch fileName.py from inside a cell in a notebook, then go back to the file browser view and click on the file.