How to hide file path in VS Code Terminal Output - BEST METHOD - MacOS Python

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

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

  • @justinwescott8125
    @justinwescott8125 ปีที่แล้ว +110

    In case it doesn't work you can change the default terminal from powershell to cmd by (I'm using windows 11):
    ctrl + shift + p > Terminal: Select Default Profile > Command Prompt
    then instead of using "clear && python -u" you can change it to "cls && python -u" or "echo off && cls && python -u" to clean it even more.

    • @hidro.nthn_
      @hidro.nthn_ ปีที่แล้ว +3

      Thanks for the clarification. It works for me

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

      @@hidro.nthn_ Your welcome but I definitely don't remember writing this... I dont even know what I'm saying 😆

    • @Devankit-ly4ls
      @Devankit-ly4ls ปีที่แล้ว +1

      thanks this one worked for me

    • @bayan3032
      @bayan3032 ปีที่แล้ว

      this one worked for me thank you so much

    • @KirubelTamene
      @KirubelTamene ปีที่แล้ว

      God bless you!

  • @yakrinfn
    @yakrinfn ปีที่แล้ว +11

    For people with a problem i used cls instead of clear and it worked perfectly

  • @d.s.dathaniel7552
    @d.s.dathaniel7552 ปีที่แล้ว +55

    Doesn't work for me, I only get errors after changing the json file the way you taught, and it points to my .py file name and raises syntax error, completely clueless.

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

      yeah, same

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

      Same

    • @Sweetpeajolz
      @Sweetpeajolz 11 หลายเดือนก่อน +3

      Same vs code does not like the “clear” on my end

    • @justcode194
      @justcode194 10 หลายเดือนก่อน +3

      sadly same

    • @allgonealone
      @allgonealone 9 หลายเดือนก่อน +2

      Yeah same

  • @SnoopiGalupi
    @SnoopiGalupi 11 หลายเดือนก่อน +3

    Dang, thanks man! This was helpful! Idk how no one else seems to have made a video using this method.

    • @codeseb
      @codeseb  11 หลายเดือนก่อน

      Cause I figured it out myself since nobody else’s video did

  • @ferdniyo963
    @ferdniyo963 19 วันที่ผ่านมา

    Thank you Seb. I followed all setps and it worked perfectly. All VSC python codes have been cluttered but now they are clean! This Video is very helpful.

    • @codeseb
      @codeseb  17 วันที่ผ่านมา

      You’re welcome, I’m glad it worked for you !

  • @aphelmusonda5253
    @aphelmusonda5253 ปีที่แล้ว +9

    Thank you so much sir, I've been struggling with this for 2 weeks now since i installed vs code, watched a lot of TH-cam tutorials but could not figure it out. 🥰Finally thank you so much. I have even subscribed to your channel upon seeing your great work. Live long and continue providing us with a lot more tutorials!🌺🌱☘🌳

    • @Learn-And-Unlock
      @Learn-And-Unlock ปีที่แล้ว

      why is this not working for me, it is giving me an error code python not found even i install every python extension. first day with VS code tho.

  • @RamiTamimi
    @RamiTamimi 2 ปีที่แล้ว +10

    Hey Seb, thanks for the video. I’m trying to improve my python skills, looking forward to watching your content.

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

      Hey Rami, I really appreciate the support! Thanks for watching and I'll be making some new vids in the near future

  • @mrgod777
    @mrgod777 ปีที่แล้ว +8

    If you are using Windows 10 and PowerShell Terminal, uninstall 'Code Runner' extension but do edit the 'setting.json entry`
    "python": "cls ; python -u",
    This should do the trick

    • @Ti_feh
      @Ti_feh 8 หลายเดือนก่อน

      Please how ?🙏

    • @shxikant
      @shxikant 7 หลายเดือนก่อน +1

      BRO THANKS THIS COMMAND WORK !!!!💯

    • @ame_d
      @ame_d 3 หลายเดือนก่อน

      i did this in the code runner execution map, it worked! thank you so much

    • @CookedEli
      @CookedEli 13 วันที่ผ่านมา

      you are the best!!!

  • @KirubelTamene
    @KirubelTamene ปีที่แล้ว +11

    i did everything the same but it gives me this in the teminal any help sir,
    Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>

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

      same problem

    • @CaiodeMatosVital
      @CaiodeMatosVital 8 หลายเดือนก่อน

      try "cls && python -u $fileName" or "or clear && python -u $fileName"

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

    For windows and for Integrated Terminal works as "cls && python -u" .. the problem is that with "cls" everything printed previously is cleared. It would be nice if previous printouts were kept (for potential comparison" and as a prompt we were receiving only the parent directory from which we run the script. Is that possible?

  • @kevinsilva3533
    @kevinsilva3533 ปีที่แล้ว +7

    I tried but come up with this message:
    Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>

    • @JuanCarlos-cl8bs
      @JuanCarlos-cl8bs ปีที่แล้ว +3

      In case it doesn't work you can change the default terminal from powershell to cmd by (I'm using windows 11):
      ctrl + shift + p > Terminal: Select Default Profile > Command Prompt
      then instead of using "clear && python -u" you can change it to "cls && python -u" or "echo off && cls && python -u" to clean it even more.

    • @vojtanethio
      @vojtanethio ปีที่แล้ว

      @@JuanCarlos-cl8bs thx!

  • @i_Akash_Yadav
    @i_Akash_Yadav 25 วันที่ผ่านมา

    i thought it won't work for c language but it works
    thanks man...

  • @alwinlee5864
    @alwinlee5864 ปีที่แล้ว +8

    great video; however, I'm getting this error now "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."

    • @maksimskuhto6397
      @maksimskuhto6397 8 หลายเดือนก่อน +1

      Did you find how to fix?

    • @UnderTheMicroscopeGaming
      @UnderTheMicroscopeGaming 3 หลายเดือนก่อน

      Same error

    • @darmi2328
      @darmi2328 4 วันที่ผ่านมา

      I had the same issue. I had to reinstall python and checked 'add to path' when installing. Works after that.

  • @shahedannam1697
    @shahedannam1697 5 หลายเดือนก่อน

    Superb! It works for C++ as well. I have been troubled by this for a couple of days, but now it’s fixed. Thank you very much.

  • @zytroXIX1738
    @zytroXIX1738 ปีที่แล้ว

    thank you SOOO SOOO much.
    That setting you told me to check fixed the error messages i kept getting after pressing run.
    UR A LIFE SAVER.

  • @Elvy3358
    @Elvy3358 ปีที่แล้ว +9

    'clear' is not recognized as an internal or external command,
    operable program or batch file.

    • @Ti_feh
      @Ti_feh 8 หลายเดือนก่อน

      Same here

    • @SashaPshenychniy
      @SashaPshenychniy 3 หลายเดือนก่อน

      cls worked instead of clear for me. Probably different terminal configured as default

  • @tariq9343
    @tariq9343 ปีที่แล้ว +6

    Thanks man !! I was looking for a way and I couldn't find a better way than yours 👏
    It worked for C++ as well

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

      Glad it worked for you!

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

      why it isnt work for me in c/c++ ??/can you please share the full code pleASE

    • @HASTAR17A
      @HASTAR17A ปีที่แล้ว

      @@Mahamudul_Hasan0 "clear &&" din c er code gular age, phython er moto change korte jaben na karon directory change korle code run korbe na.

    • @VirajShirodkar
      @VirajShirodkar ปีที่แล้ว

      @@Mahamudul_Hasan0 it works for me this is my code (i just added clear && ):
      "cpp": " clear && cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",

    • @Marquise95001
      @Marquise95001 ปีที่แล้ว

      Hey did you ever find a way to clear it? and if so can you tell em how im currently trying to find a way

  • @Knox_47
    @Knox_47 ปีที่แล้ว

    Thank you So much dude, I also try to clear this after installation of vs code.
    With you help, finally I close my search.

  • @neko7675
    @neko7675 2 หลายเดือนก่อน +1

    how would i edit the json code for java?

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

    I still got the "PS D:\" at the bottom line in terminal after that... How do I remove it?

    • @sdmnzzz_
      @sdmnzzz_ 9 หลายเดือนก่อน

      did you fiind any solution

    • @neelvadher8284
      @neelvadher8284 2 หลายเดือนก่อน

      ​@@sdmnzzz_Tell me if u get any!?

  • @EricOh43
    @EricOh43 7 หลายเดือนก่อน

    Straight to the point. Really appreciate this quick solution!

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

    Oh how I wanted this to work, but it does not for me. After making the change the only thing that happens is Python is executed in the terminal, but the program is now longer executed. Basically just like going to a command prompt and typing python.

  • @RO-AS39
    @RO-AS39 9 หลายเดือนก่อน +1

    Thanks Seb that was exactly what I was looking for.

  • @alan-overthenet
    @alan-overthenet 8 หลายเดือนก่อน +1

    I am working with Ruby. I modified my setting.json file in Workspace and added:
    {
    "code-runner.executorMap": {
    "ruby": "clear && ruby"
    }
    }
    This works for me.

  • @gritmanish
    @gritmanish 10 หลายเดือนก่อน +1

    Hi..Got error ''clear' is not recognized as an internal or external command,
    operable program or batch file.' on python 3.12

  • @vaniad555
    @vaniad555 ปีที่แล้ว

    Thank you, I am going back to Python after using JS for a while and needed to update *, your video helped & saved me tons of time! Subscribed!

  • @dartff99
    @dartff99 10 หลายเดือนก่อน +1

    Not working with javaScript. Please help me

  • @storybuilderart
    @storybuilderart ปีที่แล้ว

    THANK YOU!!!! This helps so much in having a clean output.

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

    it doesnt work for windows

  • @MrDavidablake
    @MrDavidablake 2 หลายเดือนก่อน

    Thanks for taking the time to share solutions to VSCODE problems with us. However, this did not work for me since I use Windows 10.

  • @Logi4k
    @Logi4k 2 ปีที่แล้ว +1

    thank you for the tutorial, i needed this especially being able to input in terminal

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

      Thanks for the support Philips! Me too, it was driving me crazy having all the clutter in my console. Unfortunately haven't figured out a way to remove it yet for windows

  • @satyam1810
    @satyam1810 ปีที่แล้ว

    thanks man I was soo frustrated glad I found your video

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

    Hey seb, this thing isn’t working, after the editing json file it says”python not found, and stuff…” so please recheck this and update it..please and thanks for this one..

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

      @TEAM OF JOKERS same

    • @KobiLDN
      @KobiLDN ปีที่แล้ว

      @@asmac7028 did you install python from ms store, try that. still didn't work but not getting python not found anymore.

    • @JuanCarlos-cl8bs
      @JuanCarlos-cl8bs ปีที่แล้ว +3

      in case it doesn't work you can change the default terminal from powershell to cmd by:
      ctrl + shift + p > Terminal: Select Default Profile > Command Prompt
      then instead of using "clear && python -u" you can change it to "cls && python -u" or "echo off && cls && python -u" to clean it even more.
      I get the same error using "python3 -u", did you try using just "python -u"? it can be due to the evironment variables. For example if you go to cmd and type python it should return the version, but if you type python3 -u you will get the same error "Python not found"

    • @Murad123D
      @Murad123D 19 วันที่ผ่านมา

      @@JuanCarlos-cl8bs thnx bro it worked after changing power shell to cmd

  • @r6andrei
    @r6andrei ปีที่แล้ว

    Hey thanks! I was looking for a solution and found your channel. Very helpful.

  • @deemorris7229
    @deemorris7229 8 หลายเดือนก่อน +2

    didnt work for me i been at trying to clear this thing for 6hour an still going

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

    ive been looking for this for months!! THANKS! Great video

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

    cls ; if ($?) { python -u } SyntaxError: invalid syntax
    i get this error pls help

    • @abdulkadirosman2816
      @abdulkadirosman2816 11 หลายเดือนก่อน

      same, im guessing youre on windows too

  • @EdwardCrosby
    @EdwardCrosby 7 หลายเดือนก่อน

    Wonderful tips. Exactly what I was looking for. Thanks!

  • @lexbeukel9949
    @lexbeukel9949 3 หลายเดือนก่อน +1

    can someone help me, i changed it to cls but that didnt work either

  • @mateoyt1085
    @mateoyt1085 10 หลายเดือนก่อน

    you are a god thx, I just started programming on a small Mac and this is helpful

  • @kanhaiyayadav4417
    @kanhaiyayadav4417 ปีที่แล้ว

    Thanks man i have been suffering to fix this for last 2 years

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

    How do you make this work fpr Java?

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

    You are the hero. Why are they making this so hard?

  • @abdulrahmanmasood8277
    @abdulrahmanmasood8277 2 ปีที่แล้ว +1

    Thank you, this was literally annoying me for a very long time

  • @hufflepuff4444
    @hufflepuff4444 6 หลายเดือนก่อน

    Hey, quick question: what modification would I be needed to make if the language I'm working with is cpp? Great video, thanks!

    • @m7mdragy
      @m7mdragy 2 หลายเดือนก่อน

      tell me if u find sth

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

    This doesn't work. It says "clear" is not recognizable as an internal or external command, program or file.

    • @JuanCarlos-cl8bs
      @JuanCarlos-cl8bs ปีที่แล้ว +2

      If you are using the CMD console as default terminal you should use "cls" instead of "clear" to verify this you can follow these steps (i'm using windows 11) :
      ctrl + shift + p > Terminal: Select Default Profile > Command Prompt
      then instead of using "clear && python -u" you can change it to "cls && python -u" or "echo off && cls && python -u" to clean it even more.
      Note: "clear" is used on Powershell terminal

    • @burdzyk3696
      @burdzyk3696 4 หลายเดือนก่อน

      @@JuanCarlos-cl8bs you so s3xy bro, thank you

  • @syedadeel359
    @syedadeel359 3 หลายเดือนก่อน

    in my vscode doesnt wait for user input instead of it take next line of code as an input, what should I do??

  • @kajtek-uz8ff
    @kajtek-uz8ff 4 หลายเดือนก่อน

    Thank you sooo much! That is exactly what I was looking for :)
    Do you know maybe how to prevent an external terminal from closing immediately after the code is executed? I learn C++ and in Dev-C++ and in Code::Blocks the terminal waits till you close it. I know that I can write system("pause") or use the internal VS Code console, but I would like to run my code in the external terminal which waits for me to close it.

  • @alexhughes3802
    @alexhughes3802 ปีที่แล้ว

    How do you make code runner use a conda environment, rather than my windows installation of python?

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

    SyntaxError: invalid syntax
    >>> cls ; if ($?) { python -u } "hello.py"
    File "", line 1
    cls ; if ($?) { python -u } "hello.py"
    ^^
    Hey, I am facing this error can you please help me with it

    • @peopleezz
      @peopleezz ปีที่แล้ว

      i am facing the same error

    • @yakrinfn
      @yakrinfn ปีที่แล้ว

      same

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

    oh my god, thanks so much, you' an absolute life saver!

  • @Despruce
    @Despruce หลายเดือนก่อน

    Bro what did you do with my terminal , it says hello world even tho i deletet it

  • @sharfanneymar9873
    @sharfanneymar9873 2 หลายเดือนก่อน

    I get this error
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
    C:\Users\Sunway\Downloads\Python>

  • @CelticsUnion
    @CelticsUnion ปีที่แล้ว

    hey Seb! I tried it with the same code as you, but it doesnt print my input. Any idea why?

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

    Tried running the exact same way, and came up with the "Python not found" error, any solutions? Thanks in advance!

    • @evanperes7382
      @evanperes7382 ปีที่แล้ว

      I've got the same issue. Python works when I run it normally, but can't execute with Code Runner. Would love a solution because VS Code is great!

    • @christianferling1338
      @christianferling1338 ปีที่แล้ว

      @@evanperes7382 I run it with windows 11 and cmd as a terminal - try: cls && python -u / instead of clear...

    • @monzi2479
      @monzi2479 ปีที่แล้ว

      @@evanperes7382 your python hasnt been added to environment variables

    • @JuanCarlos-cl8bs
      @JuanCarlos-cl8bs ปีที่แล้ว

      I get the same error using "python3 -u", did you try using just "python -u"? it can be due to the evironment variables. For example if you go to cmd and type python it should return the version, but if you type python3 -u you will get the same error "Python not found"

  • @duythai1965
    @duythai1965 9 หลายเดือนก่อน

    it doesn't work for me, i gor an error "Python 3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information."
    Anyone can explain for me??

    • @CaiodeMatosVital
      @CaiodeMatosVital 8 หลายเดือนก่อน

      try "cls (or clear) && python -u $fileName"

  • @anno7947
    @anno7947 ปีที่แล้ว

    I have the proble that erverytime Code Runner creates .class files in the same direcory. Did you find a solution that Code Runner put it into the bin folder? or another Idea?

  • @TheAisleOfPlenty
    @TheAisleOfPlenty 10 หลายเดือนก่อน

    Clear works for me! Wish I could now use the same concept in my tasks.json file ! 😆

  • @IshanPatel-zi1ij
    @IshanPatel-zi1ij 6 หลายเดือนก่อน

    im fairly new to python and vscode, i downloaded this extension, and when I click the cog wheel, it says no settings found. i don't see a fix for this anywhere online. Please help a brother out if anyone knows a fix for this

  • @QueenofHearts333
    @QueenofHearts333 10 หลายเดือนก่อน

    Hi Sebastian, how do i remove my user and desktopname? i keep seeing that under Hello World and i want it gone too.

  • @leaht-pu1tm
    @leaht-pu1tm ปีที่แล้ว

    So when you add the extension and go through the settings is there a way to click the arrow next to the drop down instead of clicking the drop down?
    When you ran did the input it shows the path afterwards is there a way to not show that?Also thank you for making this video along with figuring out what needs to be done behind the scenes. Thank you for your time research and knowledge

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

    UNFORTUNATELY, IT DOESN'T WORK FOR WINDOWS! PlEASE FIND A WAY AND LET US KNOW PLZ I REALLY NEED THIS!!!

  • @sinemozturk9823
    @sinemozturk9823 11 หลายเดือนก่อน

    Omg thank you! took me a day to figure it out!

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

    'clear' is not recognized as an internal or external command' I got the error while executing the code !

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

    what vs code theme are you using?

  • @TejederChaudhary
    @TejederChaudhary 2 หลายเดือนก่อน +1

    Very well explained 👏🏻

  • @yare2191
    @yare2191 11 หลายเดือนก่อน

    It doesn’t work for C, would you mind doing a video about it too?

  • @minion-here
    @minion-here ปีที่แล้ว +4

    Great 👍
    Same steps for C and C++ .

  • @RoninjaTA
    @RoninjaTA ปีที่แล้ว

    How do i make the TERMINAL actually cleared up dho?Every time i run the code it shows the folder and location etc before actually showing the output and the answer and its extremely annoying i just cant program with it its literally ruins the experience,in this video it only cleans up the OUTPUT part but the TERMINAl one keeps showing all the annoying info

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

    I'm using python 3.10 do I need to put "clear && python3.10 -u"? And do I need to update this manually everytime I am using a different version of python? Thank you!

    • @codeseb
      @codeseb  2 ปีที่แล้ว +3

      It should be just sufficient to leave it as python3 instead of python3.10! It's just so it doesn't pick up any python2 versions

    • @byaruhangaandrew4224
      @byaruhangaandrew4224 ปีที่แล้ว

      Where he says and click save, where is he clicking?

  • @nomeerahsan3551
    @nomeerahsan3551 ปีที่แล้ว

    it works. Thanks alot. can you also tell how to get rid of that "sebastiano macbook pro"

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

    Now my code doesn't run at all. I had to do everything as it was before

  • @anaselmanaa5035
    @anaselmanaa5035 ปีที่แล้ว

    thank you for the vid seb. i tried it for c and it's working

  • @MarziehAbedin
    @MarziehAbedin ปีที่แล้ว

    Hi Seb, Thank you so much for sharing this awesome tip. I was looking for such solution for a long time. I was wondering if you might know a way to get rid of the computer name as well? I'd appreciate it if you could share. Thanks again

  • @NurulIslam-of9ft
    @NurulIslam-of9ft 4 หลายเดือนก่อน

    how to do it for bash shell script ?

  • @candrasniper3404
    @candrasniper3404 ปีที่แล้ว

    Thanks for sharing. It works fine for all languages. Clean.

  • @intraced
    @intraced ปีที่แล้ว

    when i run the code after doing this it shows this cd "(path to the folder the file is in)" ; if ($?) { g++ hello.cpp -o hello } ; if ($?) { .\hello } its c++ btw how do i get rid of this?

  • @KaifTruth101
    @KaifTruth101 5 หลายเดือนก่อน

    Thank you,May God Bless yu sir❤❤ from India

  • @travelphotographylife
    @travelphotographylife 9 หลายเดือนก่อน

    thank you man, this sorted the problem for me

  • @tahaahmed6655
    @tahaahmed6655 ปีที่แล้ว

    when i run this is comes up with the message
    'clear' is not recognized as an internal or external command,
    operable program or batch file.

    • @codeseb
      @codeseb  ปีที่แล้ว

      Are you on windows or mac? I know clear is a linux command therefore it wont work on windows, you would have to replace the word clear with cls

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

    Sir after you type clear what else does write because I can see it well

    • @codeseb
      @codeseb  2 ปีที่แล้ว +1

      They are ampersands ! “clear && python3 -u”

  • @VictorB2012
    @VictorB2012 5 หลายเดือนก่อน

    That was amazing. Thanks so much dude.

  • @naza5278
    @naza5278 2 หลายเดือนก่อน

    turns out i had a different issue, it keeps telling me i have invalid syntax, even with the most basic strings where I know 100% its not wrong...

  • @rahmatursadaf7106
    @rahmatursadaf7106 10 หลายเดือนก่อน

    Hey man, I tried doing it as well, but it says ‘no settings found’ for me

    • @benjaminbown8613
      @benjaminbown8613 10 หลายเดือนก่อน

      I installed settings.json and it worked.

  • @CryptoBuzzYouTube
    @CryptoBuzzYouTube 11 หลายเดือนก่อน

    any help for C ? and not pahyton ?

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

    Hey bro please tell the way for java ...

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

    i get a syntax error, im on windows and ive tried different things from the comments but nothing is working and i get the same error
    >>> clr && python3 -u "c:\!school\py\lab04 - sphere.py"
    File "", line 1
    clr && python3 -u "c:\!school\py\lab04 - sphere.py"
    ^
    SyntaxError: invalid syntax

    • @KRNFF777
      @KRNFF777 3 หลายเดือนก่อน

      you have written clr instead of cls

  • @oscarurvizomaldonado3700
    @oscarurvizomaldonado3700 2 ปีที่แล้ว +1

    Love your videos ! Is their a way I can reach out for a question about coding?

    • @codeseb
      @codeseb  2 ปีที่แล้ว +1

      If the question's not too complex, drop it in the comments here and I'll do my best to help ya !

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

      In your opinion. Which is the best route to take ? Boot camp or college.

    • @codeseb
      @codeseb  2 ปีที่แล้ว +1

      @@oscarurvizomaldonado3700 To learn programming a degree will be more well rounded and you'll end up with said degree. But if you're someone who's capable of self-teaching, then nothing is stopping you from doing it that way. I am self-taught!

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

      Thank you so much for replying!!! It was very helpful getting an opinion from you.

  • @JoeCnNd
    @JoeCnNd 4 หลายเดือนก่อน

    Mine's definitely cleaner, but still showing MacBook-air my code % under the code.

  • @1b3equallsa2c
    @1b3equallsa2c 6 หลายเดือนก่อน

    It didn’t work it says I have an if state ment somewhere but I don’t

  • @MatheusAlves-xz5qf
    @MatheusAlves-xz5qf ปีที่แล้ว +1

    Thanks for de video! It worked for Java as well =)

    • @peterho3119
      @peterho3119 ปีที่แล้ว

      "java": "clear && cd $dir && javac $fileName && java $fileNameWithoutExt",
      this not work for me. How can you do that?

    • @MatheusAlves-xz5qf
      @MatheusAlves-xz5qf ปีที่แล้ว +1

      @@peterho3119 My configuration is exactly the same as yours, I believe you may be mistaken in another part of the configuration. This code completely cleared the terminal of VSCode. If you are using Windows, I recommend opening PowerShell or CMD and typing 'notepad $profile' so that you can edit the message that appears in the terminal.

  • @anjaneekumar-singh
    @anjaneekumar-singh 2 ปีที่แล้ว

    idk why but some how when i click on run it runs pytohn shell on terminal after modifying the setting.json ... Anyone know how to fix this ?

  • @ladysnow3378
    @ladysnow3378 7 หลายเดือนก่อน

    This didn't work for me either and keeps throwing an error when using "Run Code". My only solution = PyCharm (different IDE). I am only working with python right now so I won't need to switch between other languages.
    Not sure why these steps work for some, but not for others.

  • @vijayanandraaj8558
    @vijayanandraaj8558 ปีที่แล้ว

    I used this C++
    Its working greatly

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

      How?? I added clear && in the cpp line. When I run code , it says clear is not recognised as an internal or external command. Can you share the whole script

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

      please share the whole script

    • @harisezpz
      @harisezpz ปีที่แล้ว

      help man

    • @Rin._.002
      @Rin._.002 หลายเดือนก่อน

      share plzzz

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

    This is the gold. Thank you Seb. Subscribed 👍 🔔

  • @TheConykfull
    @TheConykfull 2 ปีที่แล้ว +1

    Hey, Do you know how to fix the issue, that when I run my code while the user input is active, the program does not run again from the beginning, but rather puts the file path as the user input?
    Thank You!

    • @codeseb
      @codeseb  2 ปีที่แล้ว +1

      I'm not exactly sure what you mean while user input is active! Do you mean that the input function is awaiting you to type an input? If so, it will likely cause an error if you try to run without first fulfilling the input by typing a response in.

  • @wagnerbaldin8651
    @wagnerbaldin8651 ปีที่แล้ว

    Great! But how to hide the folders in the command line terminal? After running the code.
    After running the code, my terminal shows a very long path line:
    Hello, World!
    PS F:\Tech\Programing\Python\Courses\Fundamentals>
    Can I leave like this:
    Hello, World!
    >

  • @garvitsharma8412
    @garvitsharma8412 3 หลายเดือนก่อน

    for anyone using c++, just use clear instead of cls and it'll work

  • @Official_18626
    @Official_18626 11 หลายเดือนก่อน

    Not working after restarting also how to do..

  • @juturtaur298
    @juturtaur298 ปีที่แล้ว

    Thank you so much seb , may god bless you.