VSCode's Python Interactive mode is AMAZING!

VSCode's Python Interactive mode is AMAZING!

Jack of Some

3 года назад

347,640 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@user-ht7gg8xs3u
@user-ht7gg8xs3u - 28.11.2023 21:38

This is a lifesaver! I'm used to Matlab and recently picked up Python. It's great to check what I'm doing. Thank you!

Ответить
@juanwoodcock5217
@juanwoodcock5217 - 16.09.2023 03:03

Very nice video.
+1 like and subscription

Ответить
@fakt7814
@fakt7814 - 03.06.2023 21:12

Wow, I didn't know about that. Me too have been using Jupyter a lot, then I switched to a regular step debugger, but the ability to use IPython with debugger is a game changer for me.

Ответить
@kia4now
@kia4now - 31.03.2023 01:06

is it possible to open the interactive window seperately, to mimic floating windows? Because running out of real estate on one screen

Great video and well explained, subscribed!

Ответить
@sonu91932
@sonu91932 - 24.02.2023 15:12

but still the graphs are in jpeg and not in SVG format

Ответить
@YJCheng
@YJCheng - 14.02.2023 23:57

VScode move between 'cells'? Spyder can do Ctrl+Down to jump to next cells.

Ответить
@rursus8354
@rursus8354 - 02.12.2022 18:28

Works nicely. It partially replaces the interactive mode gotten by starting python with the option -i, but not quite, because it takes too much space in the buffer. Personally I try to avoid VSC as much as possible because it doesn't respect tradition, but what is to be expected from Microsoft anyways? emacs is for serious programming though. That's the essence of tradition.

Ответить
@NicholasWong-vv1nn
@NicholasWong-vv1nn - 27.11.2022 07:00

Anyone know if it is possible to open the interactive tab in another window, or detach the tab from the workspace?

Ответить
@elghark
@elghark - 22.11.2022 19:02

It's the closest solution to my needs: I'm switching from Atom to VS Code and I'd like to find an equivalent way to run codes below my line script as I'm used to with Hydrogen. Doesn't exist a solution like that for VS Code?

Ответить
@yliu4093
@yliu4093 - 07.11.2022 00:33

Thanks but you go too fast and you need to emphasize the key steps. Honestly I still not sure how to duplicate wha you did. First how to pop up right interactive panel? 2nd were you using # %% to crest this interactive? Hope you can help me with these? Thanks

Ответить
@SamHartmannCom
@SamHartmannCom - 17.10.2022 22:34

Thanks a lot!
That's really cool!

Ответить
@noahbroyles8828
@noahbroyles8828 - 25.08.2022 01:38

I wish I could type that fast…

Ответить
@beto5720
@beto5720 - 09.07.2022 07:48

Bro this is dope af

Ответить
@PaulFWatts
@PaulFWatts - 11.06.2022 02:23

Thanks for making this video. I didn't know this feature existed!

As you have pointed out it is amazing and so useful. Especially when you are a relative new comer to Python like myself.

I love Vscode and it just keeps getting better and better.

Ответить
@sohangchopra6478
@sohangchopra6478 - 10.06.2022 10:14

Can't thank you enough for making this video - this is such an amazing feature! Can't believe I never heard about this before!

Ответить
@raymondchan3587
@raymondchan3587 - 13.05.2022 12:41

I don't know to to setup the intactive mode for vscode.

Ответить
@JJGhostHunters
@JJGhostHunters - 16.04.2022 20:23

Is there a "Variable Explorer" available in VSCode as there is in Sypder?

Ответить
@angryferret101
@angryferret101 - 06.04.2022 13:38

This is so fricking sublime.

Ответить
@pawel040408
@pawel040408 - 23.03.2022 12:06

Really good overview - thanks for sharing. I've recently switched to VSC from Spyder and I keep discovering new cool features nearly every day!

Ответить
@xSid19x
@xSid19x - 14.03.2022 08:45

How do you escape out of the interactive cell?

Ответить
@ruysg
@ruysg - 23.02.2022 03:31

That is just like a Matlab or Spyder environment, pretty cool

Ответить
@rodrigobarrigagibson3400
@rodrigobarrigagibson3400 - 23.02.2022 01:35

This is insane and a total game changer for my workflow... Thanks a lot!

Ответить
@rodrigomeireles5966
@rodrigomeireles5966 - 20.01.2022 14:22

I followed your setup but sadly my plots were still in .png format.

Ответить
@neuroad1522
@neuroad1522 - 10.01.2022 21:45

Thanks! But aren't those features a replica of Spyder???

Ответить
@cgabt1109
@cgabt1109 - 20.12.2021 02:43

This video changed my Python life, thx

Ответить
@williambaumert7726
@williambaumert7726 - 02.12.2021 08:14

Wow this is really cool It's! It's very similar to rstudio's Rmarkdown interface!

Ответить
@lexborodai1639
@lexborodai1639 - 17.11.2021 21:57

I type # %% in the python file using visual studio code, but nothing happens / nothing changes / any additional options appear. What do I do wrong? :(

Ответить
@abhaysharma8569
@abhaysharma8569 - 26.10.2021 20:07

I was trying to get a plot on my vscode for the last 4 hours. I just couldn't figure out what was missing. Thank you so much for this video, you probably saved another 4 hours of mine.

Ответить
@SylvStone
@SylvStone - 20.10.2021 14:33

nice but it does not work for me (some info is missing here). I'd have some questions, what vsCode version are you using? once managed to install mumpy and matplotlib within a PowerShell CLI rather, all I got as output for that example: 'plot([0,1,2],[0,1,4])' is: <figure size 432x288 with 1 Axes> but displaying nothing.

Ответить
@sarveshdakhane6454
@sarveshdakhane6454 - 16.10.2021 13:40

Thanks !!..nicely explained

Ответить
@MrTulufan
@MrTulufan - 06.10.2021 19:38

Is there a way to save the outputs inline with the code to a file just like the jupyter notebook?

Ответить
@stevepepple1800
@stevepepple1800 - 06.10.2021 01:42

Very cool workflow!
I was able to also get this working with remote development in a Vagrant/Docker VM.

Ответить
@MauroBueno
@MauroBueno - 06.10.2021 00:26

Thanks for this video, Jack! Thanks a lot!

Ответить
@YlmazDALKIRANscallion
@YlmazDALKIRANscallion - 13.09.2021 23:13

Thank you for the video!

Ответить
@juliocardenas4485
@juliocardenas4485 - 11.09.2021 17:43

VERY useful, thank you.

Ответить
@mickschilder3633
@mickschilder3633 - 10.09.2021 00:51

I started out working in anaconda spyder, in which the standard kernel is interactive, and was shocked when I learned that this was not standard behaviour

Ответить
@freddief939
@freddief939 - 07.09.2021 23:37

112 emacs users have disliked this video.

Ответить
@adventurousmale
@adventurousmale - 14.08.2021 19:35

To enable 'shift + enter' to send line/selection to interactive window you first have to enable it in settings. This took me forever to figure out why it wasn't working right away.

Jupyter: Send Selection To Interactive Window
When pressing shift+enter, send selected code in a Python file to the Jupyter interactive window as opposed to the Python terminal.

Ответить
@usamairshad5729
@usamairshad5729 - 13.08.2021 07:48

Nice and easy explanation... good work mate

Ответить
@robosergTV
@robosergTV - 01.08.2021 02:42

do I even need pyCharm then?

Ответить
@edoson01
@edoson01 - 18.07.2021 20:57

This functionality exists for years in notebooks and jupyterlab - open console along side the notebook.

Ответить
@salmantabatabai
@salmantabatabai - 07.07.2021 10:23

It is like Spyder. Although Spyder variable explorer is much neater

Ответить
@khanhtruong3254
@khanhtruong3254 - 09.06.2021 19:21

That's amazing. But it seems that I can only run the interactive mode at the end of the python script, i.e. I can't come back to normal scripting unless I delete all the interactive code.
Is there anyway to select a subset (in the middle) of the script to run interactive mode?

Ответить
@karnasaurav
@karnasaurav - 04.06.2021 15:22

That's awesome man. I have been switching between .py files and notebooks a lot. This is just awesome. THANKS!!

Ответить
@gersonfreiredeamorimfilho3012
@gersonfreiredeamorimfilho3012 - 03.06.2021 06:53

👏👏👏

Ответить
@artistscientist2848
@artistscientist2848 - 28.05.2021 00:32

@Jack Of Some
Does someone know the keyboard shortcut move the cursor from the editor to the console where we can type code?

Ответить
@user-gd1sd9xl8x
@user-gd1sd9xl8x - 27.05.2021 19:28

Thanks for the video! It really helped a lot for a project this semester. Great alternative to dealing with the annoying JSON of .ipynb files when pushing to GitHub.

Ответить
@anonymous-vs8oo
@anonymous-vs8oo - 27.05.2021 15:58

It's a Spyder feature

Ответить
@izzyr9590
@izzyr9590 - 27.05.2021 05:32

Wow even the debugger!
I liked the debugger set up in Eclipse for Java. I didn’t know python had it too in VSCode! This is awesome

Ответить