How to Setup Sublime Text 3 with Python and interactive mode - SublimeREPL

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 240

  • @neverminer49er59
    @neverminer49er59 5 років тому +4

    WOW after 2yrs this is the only video that fixes my issue. Good Job!!! You are a lifesaver!!!

  • @tillmanndoktor
    @tillmanndoktor 5 років тому +17

    For anyone having problems with saving the "Main.sublime-menu" file. You have to use forward slashes.
    If you copied the path just from the file explorer you may've copied back slashes.
    Worked for me at least.

    • @m.sevcik
      @m.sevcik 5 років тому +2

      Thank you!

    • @5160522503
      @5160522503 5 років тому +2

      Wow thankyou!!!! I was pulling my hair out.

    • @GameMationYt
      @GameMationYt 5 років тому +1

      Lifesaver

    • @sadue4317
      @sadue4317 2 роки тому

      Literally pointed out exact line, thank you my guy

  • @el8003
    @el8003 6 років тому +4

    Thank you so much! I wasted half my day researching how to get sublimeREPL to work with Python3, (instead of the default Python 2) on a Mac, and finally got it up and running thanks to this video. God Bless!

    • @book5257
      @book5257 3 роки тому

      Same, but I spent a whole day

  • @mohammednagdy6661
    @mohammednagdy6661 6 років тому +17

    You're awesome dude! I've watched many toturials about setting up SublimeText, but none of were good. Keep up the good work!

  • @hoiying-chan
    @hoiying-chan 2 роки тому

    Thank you so much! After 3 hours on Stack Overflow I almost gave up, but I finally got it to work. This was SO helpful.

  • @JustKaylaNicole
    @JustKaylaNicole 3 роки тому +1

    Yessss! Thank you, thank you, thank you!! This still works (Python 3.9.1 & Sublime Text 3 Ver 3.3.2)
    This is exactly what I've been looking for all day! Was about to just give up and use the provided software, IDLE, but your video was the answer!
    Many thanks and thumbs up to you, sir!

    • @AhcMeUk
      @AhcMeUk  3 роки тому

      Great to hear!

  • @ACIDBURN6661
    @ACIDBURN6661 5 років тому +1

    Whenever I need to re-setup my sublime text 3 I ALWAYS go looking for your video because it's easy and fast. Plus it's interactive, which is what i'm looking for. Thanks!

  • @ericchevalier74
    @ericchevalier74 7 років тому +32

    Painfully scary for a newbie but great and it worked ty.

  • @paulschmidt8742
    @paulschmidt8742 5 років тому +2

    Thanks man. I just started today with python and i also bought a really nice book to get going on my first programming language. I gotta say that this was a really nice video on setting up sublime with REPL.

  • @ceaselesswhisperer4254
    @ceaselesswhisperer4254 5 років тому

    The best video (that I have seen till now) for setting up Sublime Text 2 (even though you've done for "3"). Surprisingly, every step worked for me (primarily because you have done in such a systematic manner). Keep going!

  • @shivanshpandey3646
    @shivanshpandey3646 3 роки тому

    This is probably the only video/solution out there which fixes this problem. Great Job. How'd you even know where to begin while fixing something like this.

  • @francisbarrettiii6369
    @francisbarrettiii6369 4 роки тому +3

    I am new to this style of computer. My thoughts: Introduce what is going on, speak up, and speak clear, we want to know what and why. People who are experienced this is a great reference tutorial. For peeps who are new, it is a just follow as i do tutorial. The clarity of what your are doing and why are not here. My sublimeREPL worked just clicking on it and going into a file and changing the code made it not work, so i took the time to fix the code and made it work.

    • @AhcMeUk
      @AhcMeUk  4 роки тому +1

      Thanks for the feedback always welcome.

  • @aviralsrivastava3409
    @aviralsrivastava3409 6 років тому +1

    Thanx man! thanx a lot...after searching the UA-cam to setup the python environment i wanted, i spent many hours. But your video was exactly the precise one what i wanted. Keep up the good work bro!!!

  • @GlennBroadway
    @GlennBroadway 7 років тому

    Thanks! You said "let me know if this helped" - it did. I never thought about setting up interactive mode inside Sublime Text 3 (which I love). Now to work out why the REPL is randomly multicoloured!

  • @kc-lz8gs
    @kc-lz8gs 2 роки тому

    ive been trying to learn to code the past month or so from a book and just hit a snag with input() -- i didn't want to have to open up a console to test that. was tearing my hair out trying to find the correct way to install repl. thank you!

  • @GhostkillerPlaysMC
    @GhostkillerPlaysMC 5 років тому

    Read a lot about setting up Sublime and SublimeREPL and none mentioned having to edit the Python path in the file.. great tutorial

  • @karinatan7452
    @karinatan7452 7 років тому

    This is EXTREMELY helpful! Heard good things about sublime text and I'm new to Python, so this is just GREAT! Thank you!

  • @jonathanlynch9301
    @jonathanlynch9301 3 роки тому

    holy s*%$ I spent 10 hours trying to figure this out before watching your video...thanks so much!

  • @RicoSuave803
    @RicoSuave803 6 років тому +1

    This cleared up a lot of confusion for me. Thanks for the great video!

  • @KemalAkin
    @KemalAkin 7 років тому +7

    Just add "shell":true in order to, for instance, display your plots. So, the sublime-build code becomes
    {
    "cmd": ["LOCATION/python.exe", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python",
    "shell": true
    }

  • @crake9510
    @crake9510 5 років тому +1

    OMG thank you! kind of I figured out how to fix the file problem and now it works took me all week! but all to u thank u so much you earned a sub and a like!

  • @zorro6924
    @zorro6924 3 роки тому

    Omg tq so much ive been try fix this like 4 months before the final exam. I thought im gonna gave up but your video helped me to give hope for students tqsm from my heart

    • @AhcMeUk
      @AhcMeUk  3 роки тому

      Glad it helped!

  • @saumalyasarkar7685
    @saumalyasarkar7685 6 років тому

    Finally I got a properly working stup, thanks a ton. Much appreciated.

  • @stevenshilliday5631
    @stevenshilliday5631 11 місяців тому

    Huge help don't forget to save your code before you run it

  • @erabhi82
    @erabhi82 4 роки тому +1

    Thank you! worked for me with Sublme Text Editor 3 and python 3 interpreter. Edit the path with / instead of \ if you find issue to save the Main.sublime-menu file.

  • @HipBasketHop
    @HipBasketHop 7 років тому

    ¡POR FIN PUDE PONER A TRABAJAR PYTHON CON SUBLIME 3! Gracias.

  • @january11x
    @january11x 7 років тому

    It is amazing tutorial, i was struggling for a day to make it work, but this one is the best solution to set with sublime, thank you very much and good job.

  • @jaredprimo2386
    @jaredprimo2386 3 роки тому

    Thanks alot for the vid, felt really dumb tryna figure out wtf was wrong

  • @stephanie_ong
    @stephanie_ong 4 роки тому

    worked with no issues. thank you!

  • @FruitloopLeviathan
    @FruitloopLeviathan 4 роки тому +1

    I mean this is a must have. I can't believe Sublime doesn't have a code executer within it.

  • @craigharkins4669
    @craigharkins4669 5 років тому

    Thank you so much. Great video man. So much better then the rest i´ve watched!

  • @JasonHawkins-jasmic
    @JasonHawkins-jasmic 5 років тому

    I would not have had a hope of being able to work out how to do that without your help. I had almost given up on sublime text when I found it refused to run user inputs. I just tested it and now it works perfectly. Why on earth doesn't it do that straight out of the box!? Thank you so much for the solution (and maybe you did get the answer on stack overflow, but you managed to turn it into an easy to follow video.)

  • @raedkhazeem4187
    @raedkhazeem4187 5 років тому

    its worked on sublime 3 although I didn't have to go through first steps - Thanks

  • @dejaymazter
    @dejaymazter 7 років тому +11

    For people getting an error message about not being able to find python in files - when installing python check the box that says add python to PATH :)

    • @johnnesbit5095
      @johnnesbit5095 5 років тому

      you have to add python to your environment variables & its path

  • @jerome8275
    @jerome8275 4 роки тому +1

    wow thx a lot, works fine after looking for a solution for 2hours...

    • @AhcMeUk
      @AhcMeUk  4 роки тому

      Glad it helped

  • @Mendroid
    @Mendroid 5 років тому

    after like 4 other videos, finally a working one...

  • @elyelmo84
    @elyelmo84 3 роки тому

    Thanks a lot mate ! this was absolutely useful !

  • @jamescaffrey7869
    @jamescaffrey7869 7 років тому

    This was extremely helpful mate! Keep posting such informative videos.

  • @moi_daa
    @moi_daa 5 років тому

    Ah man, finally. It worked! Thank you.

  • @kenny_capo2029
    @kenny_capo2029 6 років тому

    You are a gentleman and a scholar!

  • @sachko98
    @sachko98 6 років тому

    Thank you so much for showing this neat way!

  • @kennypowers2341
    @kennypowers2341 3 роки тому +1

    this does not deserve dislikes

  • @AndreaVillanca
    @AndreaVillanca 4 роки тому +1

    thanks for the video! it worked well for me :D!!

  • @geraldl7172
    @geraldl7172 6 років тому

    Thanks man now it's working fine for me. keep doing good stuff

  • @kalespeaks
    @kalespeaks 5 років тому

    Very useful. Thank you so much!!

  • @PrevalentAA
    @PrevalentAA 5 років тому

    It worked for me too. Cheers!

  • @pseudoplotinus
    @pseudoplotinus 6 років тому

    MATE THANK YOU SO MUCH!!! IT WORKED SO WELL!!

  • @alanhernandez7977
    @alanhernandez7977 5 років тому

    El video fue de gran ayuda! Thank you so much!

  • @axayacatlmedina1754
    @axayacatlmedina1754 4 роки тому +1

    It wokrs just fine thanks man,in python 3.7, windows 10

  • @rohanmaheshrao2211
    @rohanmaheshrao2211 4 роки тому

    you're a savior ! thanks

  • @macmax71
    @macmax71 5 років тому

    Thanks! it did the job for me too. You really helped me out tremendously.

  • @Glorytorussia2025
    @Glorytorussia2025 5 років тому

    Thank you bro.I really appreciate the tutorial

  • @md.asadullahilgalibfardin2621
    @md.asadullahilgalibfardin2621 4 роки тому

    Thanks , Worked like e charm

  • @PetydeNecro
    @PetydeNecro 6 років тому

    Your video was of great help, thanks for posting! :)

  • @perfoperfo9910
    @perfoperfo9910 4 роки тому

    Very helpful. Thanks

  • @motiondesigner5680
    @motiondesigner5680 6 років тому

    Thank you for the video! It helped a lot!

  • @manojsaravanan3824
    @manojsaravanan3824 4 роки тому

    thank you so much teacher...
    ; )

  • @swtty
    @swtty 5 років тому +3

    hey thanks for the tutorial, I've been using sublimerepl and it worked fine until the latest sublime text 3 update, now when I press the build button nothing happens, do you know why?

    • @GurmeetSingh-fr8uo
      @GurmeetSingh-fr8uo 5 років тому

      Your pressed the wrong button on your mouse? is your mouse plugged in

  • @samybel2835
    @samybel2835 4 роки тому +1

    That's helps me. Thanks a lot

  • @Buni-CooL
    @Buni-CooL 4 роки тому

    1. Make sure that when you paste your location to use /// instead of \\\.
    2. You can just save it pyhon35 (python 3x or py3x) without the sublime-build ending. The software will add the sublime-build by itself.

  • @asvalias
    @asvalias 3 роки тому

    thanks man, you helped me a lot

  • @GyaneshwaranG
    @GyaneshwaranG 7 років тому

    Thank you so much! It worked for me!

  • @aryanlivi3553
    @aryanlivi3553 5 років тому

    Awesome work. This helped me alot!

  • @bhupinpoudel6124
    @bhupinpoudel6124 4 роки тому +1

    I tried everything none works but this one is lit myan...
    just wow 😍😍

    • @AhcMeUk
      @AhcMeUk  4 роки тому

      Thanks glad it helped.

  • @rafaelkuhnrodrigues4000
    @rafaelkuhnrodrigues4000 7 років тому

    omfg! Thank you!
    Now I just need to learn Python

  • @jaimef69
    @jaimef69 4 роки тому

    Great man! I think this is close to what I need... but still need some help. Can that REPL run code line by line, or just a selection of some lines instead of the whole code? I have been trying to set up that but not being successful. Any help on how to do that will be much appreciated

  • @ockysiswanto
    @ockysiswanto 6 років тому

    just set your python variable path in your windows environment, and everything works fine. good post btw

  • @jonanderirureta8331
    @jonanderirureta8331 6 років тому

    Dude, you're amazing. Liked and subscribed

  • @andreevizcarra2205
    @andreevizcarra2205 6 років тому

    Worked! Thanks for the tutorial! (y)

  • @pabloescobarofficialvevo4829
    @pabloescobarofficialvevo4829 4 роки тому

    mah maaaaaan! thank you so much!

  • @bartosz5882
    @bartosz5882 7 років тому +1

    Fantastic thing! Thank you so much!

  • @lyp1noff818
    @lyp1noff818 6 років тому

    Thank you very much BRO! Love you

  • @selenewaide8994
    @selenewaide8994 6 років тому +1

    thanks for an awesome video - I can use SBT for python now!!

  • @АлексейТишкин-д3з
    @АлексейТишкин-д3з 4 роки тому

    It's work with sublime3 and python27! Thank you!

  • @aliredha99
    @aliredha99 2 роки тому

    Thank you so much ❤️❤️

  • @mannydev9203
    @mannydev9203 6 років тому +1

    Nothing happens after Control + B. I could select the JSON file as my build system, it's located under /sublime-text-3/Packages/User/, but I get no new tab.

  • @bigbudda8466
    @bigbudda8466 6 років тому

    This is the perfect solution bro

  • @KTones
    @KTones 4 роки тому

    Thank you. You Saved me

  • @ahmetbarsgunaydn5125
    @ahmetbarsgunaydn5125 5 років тому

    You are awsome dude thank you sooooo much :)

  • @ihspan6892
    @ihspan6892 4 роки тому

    Thanks, this was helpful. I wonder why this cannot be just straight out of the box...

  • @lucianomartins_devpp
    @lucianomartins_devpp 6 років тому

    Obrigado, num sabia dessa solução!!

  • @luisrodriguez5003
    @luisrodriguez5003 5 років тому

    Eres un crack!!!, Thanks a million dude.

  • @MegaChazv2
    @MegaChazv2 5 років тому

    This was awesome! Thank you!

  • @jordandeng1904
    @jordandeng1904 4 роки тому

    Thank you very much!!!!

  • @丂匚卂乇几乇尺
    @丂匚卂乇几乇尺 5 років тому

    Thank you very very much bro.

  • @gelo_dk
    @gelo_dk 7 років тому +1

    you are the best!Thanks man.

  • @eula1194
    @eula1194 6 років тому

    is this necessary if i checked the checked box when i install python?
    it somehow ran and worked. in 2:03 i was expecting an error like you did..

  • @cristopheralvarez3470
    @cristopheralvarez3470 5 років тому

    profe perdone pero en el minuto 2:46 exactamente que copió para que le saliera asi, con todo y ejecutable

  • @MCEnergyProjects
    @MCEnergyProjects 5 років тому +1

    how can i do this in linux mint, i get the message "Permision error(13,'permision denied'), got no problems in windows, can you help? thanks in advance

    • @vovabaranets9164
      @vovabaranets9164 4 роки тому

      Same issue (im on mac) have you found a way to fix it

  • @chiharuyo
    @chiharuyo 7 років тому +3

    Awesome video! At 3:02, you say the location, but how do I determine the location of it? For reference, I am on a mac computer

    • @solidvapour4370
      @solidvapour4370 6 років тому

      go to terminal and type in "which python"

    • @monster125401
      @monster125401 6 років тому

      This will give you default system Python. If you are looking for a different version of Python, specify which one.
      Terminal command would look like:
      Which python3

  • @nigelblanchard5571
    @nigelblanchard5571 5 років тому

    I nearly gave up on Sublime 3 as a beginner until I say your video and was struggling with this having read Stack... comments. I like SL3 as its neat and fast and started doing some online Python for Beginners using SL BUT when I came to having to "input()" I thought that there was something wrong with my install and deleted /reinstall /delete blah blah and got in to a bit of muddle as a beginner trying to follow stack postings that can be VERY Brief AND cryptic to some .... not for the feint hearted. But what can you do with REPL wants its given the desired output I think as to what I understand SL great at entering the text part as a python file but if it is user input then each code py file has to be run if it s user input required with the REPL addon that is correct?
    And you just close the output in REPL and get on with the next exercise?? That waffle from me requires upfront apology but I hope you get my drift but in conclusion one of the clearest vids on SL thanks thanks

  • @manuelmeza9318
    @manuelmeza9318 4 роки тому +1

    thanks it worked

    • @AhcMeUk
      @AhcMeUk  4 роки тому

      You're welcome!

  • @johnstarfire
    @johnstarfire 5 років тому +4

    I've lost the key binding to the ctrl+b (maybe for a recent update), and I can't bind it again, any suggestion?

    • @Rodger_dad
      @Rodger_dad 5 років тому

      Same problem here after the update!

    • @johnstarfire
      @johnstarfire 5 років тому +3

      I found the solution that works for me and posted here: pythonprogramming.altervista.org/repl-with-sublime-keybinding-to-use-python-interactively/

    • @Rodger_dad
      @Rodger_dad 5 років тому

      @@johnstarfire Solved it using your solution, thanks a lot!

  • @sagarmaheshwari8640
    @sagarmaheshwari8640 4 роки тому +1

    thanks a lot!!

  • @hrhewitt6181
    @hrhewitt6181 6 років тому

    Mostly works. Whenever I run the REPL build system it also opens a build output window. This is super annoying, any thoughts on how to get rid of it?

  • @bendyakov2289
    @bendyakov2289 5 років тому

    bro i have wasted over a week because nothing is working even this video which is helping everyone :(

  • @natecannon2734
    @natecannon2734 2 роки тому

    Great Video! I do have a question. For " "selector": "source.python" ", why don't you set it to " "selector": "source.python" " and not " "selector": "source.python3" "?

  • @geethakumarikante
    @geethakumarikante 7 років тому +1

    Hi, the video helped me for adding python3 path but i couldn't find the install package control in my tools command palette section. can u help me with this ?

  • @mohammedtouati3855
    @mohammedtouati3855 5 років тому

    thanks so much, i have a question: is there a way to show up the output in the same tab, because every time i hit "build" it opens a new tap, and thanks in advance

    • @vitaliimashkov5267
      @vitaliimashkov5267 5 років тому

      stackoverflow.com/questions/46887575/sublime-text-3-repl-how-to-build-script-in-single-tab-or-same-repl-window

  • @johnwalker4787
    @johnwalker4787 6 років тому

    Does the sublime repl build system in description work for python?