r/IPython • u/mrd2689aaa • Sep 21 '20
IPython in VSCode? Help please
I'm new to programming and VSCode, so please forgive my ignorance or lack of understanding!
I am following a Computer Science college course which might be a tad out-dated. Anyways, in the course it is recommended that the students use VSCode as their text editor and the Anaconda distribution of Python. I am using the regular version of Python, not the Anaconda distribution.
Since IPython is not installed by default, I went to the VSCode marketplace and downloaded the extension "IPython for VSCode". However, IPython still appears not to work (I am trying to use the IPython REPL in the terminal).
Does anyone know how to use IPython in VSCode? I don't even know if this is still a thing.... I'm confused re: the relationship between IPython and Jupyter. But what I'm trying to do is to use the IPython REPL in the VSCode terminal, so that I can follow along with my college course.
Thanks for your help!
View all comments
Show parent comment
1
u/ArgonOnTheRocks Sep 21 '20
Before or after doesn't matter as long as you configure VS Code to point to the interpreter of you choice. VS Code is just the interface you're using to code. You could equally choose another code/text editor and you could make it work, but VS Code is really convenient and powerful. Fact remains though, you still need a python kernel to actually convert (read: compile) your code into something your computer knows how to read, regardless of how you type your code. You could program in notepad and compile from the command prompt for all I care (don't lol), but you'll need a python kernel. The VS code extension is essentially just allowing you to configure jupyter functionalities within the app and do everything in one place instead of using the anaconda prompt or whatever else
As for IPython vs Jupyter, my understanding was that Jupyter was just the newer rebanded IPython package, but take that with a grain of salt because I'm not super knowledgable about its history and u/30fps101 probably knows a lot more about it than I do