Run Codes on Spyder Environment

Hello everyone,

I want to run all the exercise code on Spyder software, because it simple and easy to execute code line by line and perform debugging… However all the codes available for online environment can someone guide me how to convert them on my local environment ?

I don’t recommend you to run code on Spyder.
Jupyter Notebook is more easy and convient to run unit test for code.
http://preview.d2l.ai/d2l-en/master/chapter_appendix-tools-for-deep-learning/jupyter.html
For me, I like vscode which is open source and so powerful.

But if you like Spyder, you can just convert all .ipynb to .py to run.
Haven’t figure out how to do it automatically. Just to paste it cell by cell.
Make sure that you are understand before you pasting.

You can convert the ipynb files to py via command line with nbconvert.
https://nbconvert.readthedocs.io/en/latest/

I think the thing is that he didn’t want to install jupyter.