Hi I found this old post, and Ihave exactly the same motivation as Eric. We have a set if spyder notebooks but want to be able to let our students use jupyter notebooks as well. Ideally we have a single source and can convert from on to the other. Does anyone know of a tool that does this now? It might not be so difficult to create, see e.g. https://gist.github.com/fperez/9716279
thanks Kris On Wednesday, 14 October 2015 08:33:18 UTC+1, egayer wrote: > > Hi Carlos, > > Thanks for your answer, my post was also to throw an idea... if such a > tool looks useful for more than one user maybe you would think about adding > it directly into Spyder > Anyway thanks again for the answer > Eric > > On Tuesday, October 13, 2015 at 5:09:41 PM UTC+2, Carlos Córdoba wrote: >> >> Hi Eric, >> >> Glad to hear you're enjoying using Spyder :-) >> >> About your question: unfortunately we don't have any such tool in Spyder >> (for now :-). We could create something like that in the future, but right >> now we're very busy working on Spyder 3.0. >> >> >> Cheers, >> Carlos >> >> El 13/10/15 a las 03:05, egayer escribió: >> >> Hi all, >> >> As a spyder user I love all the small features provided by this awesome >> tool that makes my coding super easy. I use spyder as my default IDE but I >> recently looked at / played around with IPython Notebook and find it super >> attractive as well and especially for teaching purpose (I use it for my >> teaching presentations). >> >> However because I feel better using spyder, I was wondering if there was >> some kind of a tool somewhere that could convert python script into IPython >> Notebook so I could just use it to generate some IPython Notebook from old >> scripts. Looking around I found these two related questions/answers : >> >> >> http://stackoverflow.com/questions/21034373/how-to-load-edit-run-save-text-files-py-into-an-ipython-notebook-cell >> >> >> https://www.webucator.com/blog/2015/07/bulk-convert-python-files-to-ipython-notebook-files-py-to-ipynb-conversion/ >> >> It is not that these two options are not satisfying to me (and please >> forgive my naivety on this purpose), but I was wondering if it could be >> possible to convert/export a script written in spyder into a IPython >> Notebook, using for example the cells delimiter (##%) to delimit IPython >> Notebook cells and the comment (#) for text cells in the IPython Notebook. >> >> Again I have no idea about how much work it would take to make such a >> converter, but I am just asking because it would make coding AND >> presentations preparation super easy to me. >> >> Thanks >> Eric >> >> >> PS : The ultimate goal being to find a efficient way to prep my teaching >> using python to generate htlm5 presentations because I am fed up to >> literally loose time preping presentations with powerpoint/keynote stuff >> >> -- >> You received this message because you are subscribed to the Google Groups >> "spyder" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/spyderlib. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
