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
Initialized cells for new notebooks #640
Comments
Hey, I totally agree. I searched a bit and I could not find anything. When I start my work I always lose my time to fill all the cells I am using every day: goal, materials and methods, results, imports and initialization statements etc. That is a bit frustrating after some time so this feature would be just great! I do not known when would be the start point for the implementation of this. Rafal |
You don't need to have that in the notebook itself, I would around notebook extension (like here) if it already exists. It's a matter of writing a loop of You can use the content service API if you want to access file on the filesystem, Plus I suppose you might want to insert template cells in already existing notebooks, so this would definitively be the direction to go. |
Hmm, I will give it a try with an extension. I never have done it though, so I do not know how far I can get with it. |
Feel free to ask question, the docs for extension is a bit lacking, I wrote that some time ago but it's not that up to date. Keep us informed of what you come up with ! |
i'll be happy to test and make feedbacks or patches if necessary. @Carreau You pointed out a repository with extensions, but that's unofficial. Is there any plan from the jupyter community to maintain a repository with extensions? I think that would increase the visibility of such efforts and I'm pretty convinced that this one would be one of the top used extensions. |
Thanks for support. I will check how I can get around with time and try to implement this. |
Not from the official team, but I am part of unofficial repo I pointed you too. In the other direction, if the repo is well maintained, we woudl be happy to point user to it., and potentially link it from the official doc. |
Hi! Im also looking for this solution, @Carreau where would you insert the line
Or where would I find documentation about where to insert it? ;) |
Hi,
For my usage, I tend to have always the first one or two cells identical (basically imports...).
A wonderful enhancement would be that the user could define the content of new notebooks (like a template), one per language. So, each new notebook would have pre-filled cells.
I looked in the documentation, config files and asked on stackoverflow, and it seems that this feature doesn't exist so far.
Many thanks.
The text was updated successfully, but these errors were encountered: