Visual Studio Code Python for Beginners: Hello World & Beyond

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 77

  • @RealToughCandy
    @RealToughCandy 5 ปีที่แล้ว +14

    ...First!
    Great video. Python rocks. 🐍

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว

      Pinned that comment! Thanks!

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว

      Cool channel name you have there btw.

    • @blazingcontrollerandstorys47
      @blazingcontrollerandstorys47 5 ปีที่แล้ว

      Theirs an easier way to do math on there just type
      msg = 1+2
      Print(msg)
      It would give you 3 instead of 1+2

  • @paulmcwhorter
    @paulmcwhorter 5 ปีที่แล้ว +19

    Incredibly useful video. You have no idea how hard it is to find instruction like this that shows you how to get started. Really helped me out a lot. You have the gift of teaching sir! God bless.

  • @_marlon
    @_marlon 4 ปีที่แล้ว +1

    That was awesome! I'm an iOS developer who writes in Swift and I'm about to jump into the Computer Science portion of school and this video is a great ice breaker. I'm already enjoying the heck out of Python!

  • @ghtegnerlitt
    @ghtegnerlitt 3 ปีที่แล้ว

    Thank you for your video, it helped me getting started with Python! :)

  • @tobaobiwale735
    @tobaobiwale735 3 ปีที่แล้ว

    I am familiar with php but starting a Python course lately and connecting to git gives me a lot of headaches, Now I get it done, your video is very educating with each step you took, Thank you!

  • @JabeurAlimi
    @JabeurAlimi 4 ปีที่แล้ว +2

    here's the thing, I just learned in this video more than i did in my whole python course lmao. Not really but it was concise and clear :D thanks :D

  • @peters7278
    @peters7278 4 ปีที่แล้ว

    Very cool. It is really neat to see how a pro can quickly grasp a new language. Thank you for demonstrating your process.

  • @dennyahh
    @dennyahh 5 ปีที่แล้ว +5

    Good video, was looking for something to get me going on python. Glad I found this.

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว

      Yes, you should be able to teach yourself from quite a lot of free info online.

    • @dennyahh
      @dennyahh 5 ปีที่แล้ว

      @@codingisforyou This video does that perfectly. I do wish there was an extra 3-5 minutes on classes/objects though.

  • @chimadivine7715
    @chimadivine7715 5 ปีที่แล้ว +1

    Thanks so much for this video, especially the set-up section. Using VScode has saved me from being stuck with Atom editor...thanks again

  • @DarkOceanShark
    @DarkOceanShark 4 ปีที่แล้ว

    Amazing video! Thanks for helping me out, love from India 🇮🇳.

  • @lauracoutinho5478
    @lauracoutinho5478 4 ปีที่แล้ว

    to run a code shortcut, go to View, command pallette: python interactive window. Then when you enter your code, type control + enter to run. Assuming no errors, it will run your code

  • @salvepolinar6139
    @salvepolinar6139 4 ปีที่แล้ว

    THANK YOU FOR TEACHING US.

  • @kaimotion9354
    @kaimotion9354 3 ปีที่แล้ว

    why does this video not have over 1m views??????

  • @kamranhusain9492
    @kamranhusain9492 4 ปีที่แล้ว +2

    I was unable to find my settings.json file in the visual studio editor. There was no PYCLASS drop down. So, I looked in %APPDATA%Roaming\Code\User and found the contents there. You refer to the location at about 1:48

  • @OlegWin355
    @OlegWin355 4 ปีที่แล้ว

    Thank you, I did like this course. Just subscribed to your channel. With your help, I was able to set up my development VS Code environment and develop. For some reason, the save file didn't work for me. No errors just didn't write and create a file. I am sure it has something to do with my machine and permissions. Anyways Thanks a lot, great tutorial.

  • @Ribzybtw
    @Ribzybtw 4 ปีที่แล้ว

    YES YOU FUKING MAD LAD U SAVED A LIFE

  • @Nova-jt6gw
    @Nova-jt6gw 4 ปีที่แล้ว +1

    You can use f5 to run the program 😁 I find it easier, it might not work for some idk 😕

  • @MrBubbagump58
    @MrBubbagump58 5 ปีที่แล้ว

    Thank you, sir. You got me at least started with Python using VS Code. I was spinning my wheels for quite a while. I think I was missing the environment thing. Now, I got to figure out, how to show all of the libraries after I type import or from on a line.

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว +2

      Keep at it and you can always figure things out. Google is your best friend.

    • @MrBubbagump58
      @MrBubbagump58 5 ปีที่แล้ว

      @@codingisforyou Now I'm stuck with the "Import Error". From my research on the Internet, this is common with VS Code. Any ideas where to look for a solution? I'm trying a few basic tkinter examples, just creating a main window, and, get the "no such module tkinter" error. It runs on IDLE, but not with VS code. I've tried uninstalling and installing a couple of extensions. Oh, I'm running VS Code on Linux Mint.

    • @noweare1
      @noweare1 4 ปีที่แล้ว

      @@MrBubbagump58 just use idle VS Code setup can be a bit perplexing

  • @xmx1000000
    @xmx1000000 5 ปีที่แล้ว +1

    Useful video
    despite I am not fan of VS-Code platform
    thank you very much for your effort

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว

      I completely understand, but there is a use for it and people use it. It's because it can go on free servers like Linux.

  • @noweare1
    @noweare1 4 ปีที่แล้ว

    Coming from a C background python seems very interesting esp. all the libraries are part of the language. Although I have a hard time not using brackets and semi colons

  • @issaiahburch1033
    @issaiahburch1033 2 ปีที่แล้ว

    The extension doesn't show up in the workspace for me and I still can't seem to get this to work. I can't get the set up to work because I have no idea how to troubleshoot the path not showing up.

  • @mylifeandhobby2716
    @mylifeandhobby2716 5 ปีที่แล้ว

    Ty I needed this

  • @didoma73
    @didoma73 3 ปีที่แล้ว

    You can also press F5 to run/debug your Python code in VS code 😊

  • @jacquelinewalker-5731
    @jacquelinewalker-5731 5 ปีที่แล้ว +5

    I install everything and , this one guy he screw me up. So I'll follow you

  • @susmore8575
    @susmore8575 5 ปีที่แล้ว +10

    F5 is the shortcut to run, instead of right clicking and all that.

    • @Nobody-ml5ym
      @Nobody-ml5ym 5 ปีที่แล้ว

      Still nothing.

    • @karygordo
      @karygordo 4 ปีที่แล้ว +1

      Shift + enter on wi dows 10

    • @uctopgulumvardi
      @uctopgulumvardi 3 ปีที่แล้ว +1

      @@karygordo this works on Windows 10, thnx!

    • @uctopgulumvardi
      @uctopgulumvardi 3 ปีที่แล้ว

      Naah, it's a different version of running a code. Shift + enter is not the same. I just switched to Pycharm. It is working really much better snd yoi can use shift+F10. Really fast and charming! No Visual Studio for me (for now) :)

  • @raysah
    @raysah 4 ปีที่แล้ว +1

    How do you remove the file path and version that appears each run you run the script on the terminal, i only want to see the output of my script and nothing else
    For example,
    Instead of seeing this output each time
    PS C:\Users\username\xxxxxx\xxxxxxxxxxxxxxxx> & C:/Users/username/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/username/test.py"
    I only want to see the output of the actual script and nothing else, similar to PyCharm

    • @danishkh4489
      @danishkh4489 4 ปีที่แล้ว

      Same here.. help me if you found the solution

  • @Daniel-pv3nd
    @Daniel-pv3nd 5 ปีที่แล้ว +3

    I am an absolute beginner with coding. I will appreciate some help. I tried to 'Run Python File on Terminal' (3:32) but Visual Studio Code shows a little window saying: 'The terminal process command 'C:\ProgramFiles\Git\bin\bash.exe' failed to launch (exit code: 2)' and I do not know what to do. Thank you :)

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว

      I am not sure, but looks like maybe that file you listed is missing. bash.exe. Try to see if it's there. Also try restarting the VS Code.

  • @itsschoie8449
    @itsschoie8449 5 ปีที่แล้ว

    for when you do for x in range etc
    you must put in spaces before the 2 prints or else it wont work, just a tip

  • @danielc1078
    @danielc1078 4 ปีที่แล้ว

    Hello, I'm very new to this. I was wondering if you can just run a simple line of code without having it show all the clutter and paths in the terminal. Like testing a line of code on w3schools Tryit editor.

  • @robber4516
    @robber4516 5 ปีที่แล้ว

    is visual studio better to make gomes or is visual studio code better?

  • @ghostwhowalks5623
    @ghostwhowalks5623 5 ปีที่แล้ว

    thanks for sharing the video. I replicated the program you wrote and ran it using the "Run Python File in Terminal". Worked fine. Then I tried selecting it and using the Shift+Enter shortcut to run in Python Terminal - and I'm getting all sorts of errors. Does anyone have the same issue?

  • @Арам-щ4ю
    @Арам-щ4ю 5 ปีที่แล้ว

    just great thanks !!!

  • @omooba00
    @omooba00 5 ปีที่แล้ว

    is there a keyboard shortcut to run the current file or do u have to right click and choose the option every time

    • @ProdbyHway
      @ProdbyHway 5 ปีที่แล้ว

      Having same issue

  • @Marcusaurelius_a
    @Marcusaurelius_a 4 ปีที่แล้ว

    anyone know what visual studio hes using?

  • @rozhb.abdullah1785
    @rozhb.abdullah1785 5 ปีที่แล้ว +1

    thank you

  • @eddyshieh
    @eddyshieh 5 ปีที่แล้ว +1

    perfect

  • @starfire4385
    @starfire4385 4 ปีที่แล้ว

    what if the "select intrepreter" didn;t come out ?

  • @sylvaine27638
    @sylvaine27638 5 ปีที่แล้ว +1

    hello, when i type "python" in the command , it doesn't match
    please help!!

    • @codingisforyou
      @codingisforyou  5 ปีที่แล้ว +1

      Keep hacking, that's what us programmers do.

    • @sylvaine27638
      @sylvaine27638 5 ปีที่แล้ว +1

      u are a legend bro , i like u :)

  • @Nobody-ml5ym
    @Nobody-ml5ym 5 ปีที่แล้ว

    I tried this two times now and the results differ.

  • @KidaleSmith
    @KidaleSmith 5 ปีที่แล้ว

    I hate that it took me a month to learn all this and here's blazing through it 😭

  • @csicee
    @csicee 5 ปีที่แล้ว

    How do i do this for lua?

  • @B__RhesaSimbolon
    @B__RhesaSimbolon 3 ปีที่แล้ว

    How to unhide debbug menu my debbug menu gone

  • @mason9627
    @mason9627 4 ปีที่แล้ว

    FUUUUUCKKKK THIS IS HARD AS SHIT I CANT DO THIS

    • @elipsem1008
      @elipsem1008 4 ปีที่แล้ว

      what happened

    • @mason9627
      @mason9627 4 ปีที่แล้ว

      mythical pizza couldn’t get python to work tried for hours and got really mad works now

  • @Flo_raa
    @Flo_raa 3 ปีที่แล้ว

    "msg not defiened"

  • @vladimirbelousov7301
    @vladimirbelousov7301 3 ปีที่แล้ว

    Мы в итоге так и не выпили Ягуар после просмотра. 18 минут впустую..

  • @amund8821
    @amund8821 4 ปีที่แล้ว

    Not a great start saying you don't use python

  • @beach_bum_dev
    @beach_bum_dev 5 ปีที่แล้ว +1

    shift+enter to run in terminal