Setting up a Python Development Environment in Sublime Text

  Переглядів 1,039,627

Corey Schafer

Corey Schafer

7 років тому

In this Python Tutorial, we will be setting up a development environment in Sublime Text 3. We will walk through how to install Sublime Text, install Package Control, install Packages, and much more. Let's get started.
GitHub Sublime Settings - github.com/CoreyMSchafer/dotf...
Source Code Pro Font - fonts.google.com/specimen/Sou...
Build Systems tutorial - • Python Tutorial: Custo...
Older Sublime Text 3 Setup (Web Dev focused)- • Sublime Text 3: Setup,...
Sublime Text Playlist - • Sublime Text
Atom Python Development Environment Setup - • Setting up a Python De...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
www.amazon.com/shop/coreyschafer
▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python

КОМЕНТАРІ: 889
@drewconroy5938
@drewconroy5938 6 років тому
I have said this before and I will say it again. After scouring the net, this is by far the best tutorial if you need to set up a Python environment with Sublime Text 3. If you happen to be reading this, take note and watch the video:)
@coreyms
@coreyms 6 років тому
Thanks, Drew!
@ChitranshuVashishth
@ChitranshuVashishth 5 років тому
Thanks for this video. I am completely newbie and setting up text editors and IDE have become a daunting task for me.@@coreyms
@hameem6845
@hameem6845 5 років тому
Haven't watched it yet but I believe you!
@JorgeMarquezRave
@JorgeMarquezRave 5 років тому
Agree 100%
@gethsun1
@gethsun1 4 роки тому
We getting to the end of 2019 started off with Corey's tutorials 4 months ago after wandering the www for since begging of the year and I attest to your proclamation I am past my formative stages of programming and building my first app for a client Long Live Mr. Corey M. Schafer
@snyredbaron21
@snyredbaron21 5 років тому
What a great explanation! Now I understand a lot of things about text editors and not only for Sublime. Thank you so much, Corey!
@tajindersinghdhoot
@tajindersinghdhoot 5 років тому
14:47 In windows split shortcut is : Alt+Shift+2 to split in 2 columns Alt+Shift+3 to split in 3 columns Alt+Shift+4 to split in 4 columns Alt+Shift+8 to split in 2 rows Alt+Shift+9 to split in 3 rows Alt+Shift+5 to split in grid of 4 or View>Layout>(select option) It is for Sublime Text 3
@tridibjyotidas4091
@tridibjyotidas4091 5 років тому
Thank you so much dear :)
@omogbemeiyere6475
@omogbemeiyere6475 4 роки тому
how do you undo it?
@JusSingh
@JusSingh 4 роки тому
@@omogbemeiyere6475 alt+shift+1
@wh4497
@wh4497 4 роки тому
thank you
@vegeta_-lhz_9888
@vegeta_-lhz_9888 3 роки тому
Bless you :))))
@johnsabini3218
@johnsabini3218 5 років тому
What makes a teacher interesting? She or He knows the material AND knows how to present it. That takes time and effort. Repetition is important without making it all boring. Corey is one of the great teachers for this material.
@coreyms
@coreyms 5 років тому
Thanks!
@benjenkins2415
@benjenkins2415 3 роки тому
3.5 years later...this is still this best tutorial on Sublime Text. Thanks!
@MyTube4Utoo
@MyTube4Utoo 6 років тому
Just found your videos today Corey (Nov. 23, 2017). Best thing that ever happened for my Python learning! Thank You!
@2494capn
@2494capn 5 років тому
I work in Operations consulting with a lot of ERPs and WMS' and decided to learn python as it was a really versatile language. These videos, in conjunction with the book "Learning Python", have helped along tremendously. Thank you so much!
@anshulmcamanit
@anshulmcamanit 5 років тому
Immediately subscribed your channel. Really crisp and to the point videos. Absolutely loving it.
@user-vi1tw1xw7r
@user-vi1tw1xw7r 5 місяців тому
Thanks Corey, your excellent tutorials got me flying with python in no time some years ago. I've created a lot of valuable applications for my work with it since. I had followed your setup for atom and used it for years until a disc corruption killed it today. Of course, atom now no longer available. Now trying sublime and following your lead again. Thanks again.
@novicetech1
@novicetech1 6 років тому
Thanks Corey. I love Sublime Text3 and haven't been using it because I didn't really know how to set it up as a newbie. This really helps. Now I don't have to dink around with PyCharm or Visual Studio Code. I have nothing against those tools, but I'd much rather use Sublime Text while I'm learning and just trying things out. I really appreciate this tutorial and you thorough mastery of the subject matter. Kudos, dude.
@JoshuaDHarvey
@JoshuaDHarvey 4 роки тому
Great video, thank you! Also, at 7:06 the material theme read-me was appended below the predawn message. Also 14:50 the Windows shortcut is Alt + Shift + 2
@petitehobbitte
@petitehobbitte 5 років тому
Thank you so much. Very clear. There was a problem with the server tonight and I couldn't install any packages, but fortunately someone posted an old link to a stable url on a forum and I was able to add it to my user profile, temporarly. Now I can start learning Python (I know C and JS) to better serve my patrons at my library - I'm a librarian. Cheers!
@23TrevorE
@23TrevorE 7 років тому
Bloody awesome video, mate!
@phillinolph
@phillinolph 6 років тому
Your videos are fantastic! Thank you for putting everything in the description and for being so thorough. You do a great job going from the big picture reasoning for doing something down to the details of execution.
@Aditya-hk4je
@Aditya-hk4je 4 роки тому
Corey is the first person to appear for any of my programming UKposts searches
@michaelhughes5946
@michaelhughes5946 5 років тому
My good ness man, this tutorial is amazingly absolute! Thank you for this... so freakin' much!
@sli6181
@sli6181 4 роки тому
I have watched several videos and I must say this video is the best! This helps a lot! Thank you!
@muhammadmz8791
@muhammadmz8791 5 місяців тому
anything i've searched about python, you had a valuable course about that in your channel, thank you.
@tbd317
@tbd317 5 років тому
As of today 27 August, 2018, I decided to take up coding as a hobby. After a bit of reading I decided on Python. I searched the web high and low for a solid tutorial on how to get started, to no avail. I am a Cyber Security guy by trade, and figured coding would be similar to pushing patches in BigFix. I was definitely wrong. I cannot wait to get this new hobby up and going, as well as, diving deeper into your videos. Thank you!!
@coreyms
@coreyms 5 років тому
Glad to have you aboard! Programming can be frustrating at times, but if you stick with it then it is definitely rewarding (and fun) in the long run.
@olion2989
@olion2989 5 років тому
How did python go for you Tyler?
@ThePerlgeek
@ThePerlgeek 5 років тому
Corey , you are the best ... always wanted a theme that you are using and i got it configured today .... Thanks a lot of sharing, keep up the great work!! :)
@Edditoria
@Edditoria 4 роки тому
Your tutorial is very well-made. I like how you explain things with extra tips/good-practices in simple words. I can understand what you say without subtitles . Nice work!
@22ttiimmeess
@22ttiimmeess 4 роки тому
If anyone is getting a "[WinError 2] The system cannot find the file specified" issue, this comment from Corey was buried in the comments. I spent a good hour and a bit trying to figure it out. You might have to change the "\" in your file path in your command prompt to "/" when you put it in your path in your *.sublime-build file. This is what he commented: Hi there. The PATH to Python is different in Windows than it is on a Unix-like machine. Try opening your command prompt and running Python, and then run the following code: import sys print(sys.executable) It should show the PATH you need to put into your build system instead of the current "/usr/local/bin/python3.5" I hope that helps!
@bieldozap
@bieldozap 3 роки тому
my hero
@JohnDoe-fy9cv
@JohnDoe-fy9cv 3 роки тому
For windows this worked for me: /usr/local/bin/python3.5 > C:\\Program Files\\Python39\\python.exe and adjust install path to relevant version location.
@curacaojay
@curacaojay 3 роки тому
Thank you Corey. This vid was helpful for me to setup my Sublime environment to use the Anaconda Python install instead of my default version on the Mac. Thanks for posting.
@bogdannica9893
@bogdannica9893 2 роки тому
really great job. I use sublime for a while. Recently I restarted python programming and using sublime for it is a real help.
@ipbloke
@ipbloke 7 років тому
Top man Corey that was a great presentation - thanks for taking the time to do that !
@ryanpatton1795
@ryanpatton1795 4 роки тому
Oh my god, sublime text is so good. I cant stand how slow PyCharm is, and I needed a little bit more functionality than just using the IDLE editor. I appreciate this video
@lordaarush955
@lordaarush955 3 роки тому
spittin facts
@robinthapa3844
@robinthapa3844 3 роки тому
use vim if you want best editor and which is fast too
@benuchie
@benuchie 6 років тому
excellent (comprehensive and clear) video 🙌🙌🙌 many thanks 🤓🤓🤓
@drygordspellweaver8761
@drygordspellweaver8761 2 роки тому
Marianna theme with pure black backround is what I opted for. Beautiful theme!
@stardusts42
@stardusts42 6 років тому
Detailed and helpful! Thanks a TON!
@mlytle0
@mlytle0 6 років тому
Great videos, this one in particular has kept me from giving up on python programming. The Anaconda plugin you recommended has allowed me to understand the spacing issue much better..was pulling my hair out because my trial code kept failing, now I know why..THANK YOU.
@coreyms
@coreyms 6 років тому
Awesome. Glad to hear you're sticking with it!
@monagulapa3022
@monagulapa3022 4 роки тому
I'm speechless. Amazing ! 👍 Thank you so much !
@allenmudrovcic
@allenmudrovcic 6 років тому
For windows split screen mode is Alt+Shift+2 or View, Layout, Columns: 2 edit: im talking about this part 14:47
@puravida77700
@puravida77700 6 років тому
Thanks, was looking for that:)
@aafre
@aafre 5 років тому
It's Cntl+Shift+2
@muralip9701
@muralip9701 3 роки тому
Great instructional video. Precise, concise and to the point!
@woolfy02
@woolfy02 2 роки тому
I'm a newb to coding and looking forward to getting this setup! Great tutorial
@ravishankar-eu2ij
@ravishankar-eu2ij 6 років тому
Everything you need to know about python development environment in sublime text. Awesome video (Y)
@johnnydamilatis8281
@johnnydamilatis8281 5 років тому
Clean video ,thanks for the sublime settings man .
@ashwatson2142
@ashwatson2142 6 років тому
Corey, your videos are amazing. Also doing your OOP tutorials... superb
@entrotlek
@entrotlek 7 років тому
everything got a lot easier to read after you installed that font package
@jumanjiwarlord
@jumanjiwarlord 3 роки тому
4 years later.... still useful. Sidebar Enhancement. very nice.
@meatyout
@meatyout 5 років тому
Thanks A LOT, Corey! All the great job you are doing is very very helpful. I wish you all the best. :)
@SimasAlan
@SimasAlan 4 роки тому
Hello Corey, i really enjoy ur videos, i've learn a lot.Just want to thank you for the great quality videos and content!
@syedabdulsalam4659
@syedabdulsalam4659 4 роки тому
Must have channel for everyone working in python and linux.
@yeefangxiao2953
@yeefangxiao2953 6 років тому
Hi Corey, Thank you so much for all the tutorials! They are all high quality in content and presentation!
@jitendraadtani8920
@jitendraadtani8920 5 років тому
You are awesome man! Thank you so much for sharing this.
@tymothylim6550
@tymothylim6550 3 роки тому
Thank you very much for this video! It was very helpful and helped me understand how to get Sublime set up and ready to use! Helpful also to know the various preference settings and addon packages! :)
@sriharivishnubhatla
@sriharivishnubhatla 5 років тому
Hey! Thanks for the video... By the way, at 14:50 that shortcut to enable split screen mode for a windows machine is "alt+shift+2"
@user-il3bk5hv8s
@user-il3bk5hv8s 5 років тому
Excellent video!, hope more future videos about those silly things that we can be missing!
@ihebhaboubi1570
@ihebhaboubi1570 5 років тому
your tutorials are the best
@loganhuang3704
@loganhuang3704 6 років тому
Thanks Corey Schafer! Very exhaustive explanation 谢谢
@nerva1150
@nerva1150 7 років тому
I like your video very much ! They are very helpful to me as a beginner of programming.Just want to say thank you
@soulofangel1990
@soulofangel1990 3 роки тому
I'm glad I've found your channel, once I got a job mate, I'll give something back, I owe you.
@SidTheBot
@SidTheBot 5 років тому
Thanks for making this video. This help me alot. Your github prefrences are nice.
@realmsgaming
@realmsgaming 5 років тому
Concise clear content, thank you very much Corey for these great tutorials!
@MyTube4Utoo
@MyTube4Utoo 6 років тому
Extremely helpful. Thank you.
@zhanpengzhou3492
@zhanpengzhou3492 5 років тому
keep on going man really thanks for your excellent work
@danielxie4636
@danielxie4636 6 років тому
Best Videos on python, thanks man
@ParvizKermani
@ParvizKermani 4 роки тому
Very useful and clear. Thank you!
@saifal-badri
@saifal-badri 4 роки тому
This is fantastic, subscribed forever!
@julianmahler2388
@julianmahler2388 2 роки тому
I hereby admit that I used sublime text for years and had no idea that you can build and run your code with it ☝️
@nano7586
@nano7586 5 років тому
Thank you so much. This was so helpful.
@machende1
@machende1 7 років тому
cheers Mate!! your a great teacher, well done!!
@RunFranticBeauty
@RunFranticBeauty 6 років тому
Great video! I'm really new to coding and I found this really useful!
@imretuvi6829
@imretuvi6829 4 роки тому
The best video for Sublime Text. I recently thought about switching to VS Code but as I really like Sublime Text I was looking for some enhancements and after setting up wit this I just love the design and packages!
@selenewaide8994
@selenewaide8994 6 років тому
Another awesome tutorial from you - many thanks
@itron3295
@itron3295 5 років тому
Completely awesome video! Great job!
@OneShotKill3r
@OneShotKill3r 2 роки тому
Corey Schafer, thank you!!
@abhinavsingh1531
@abhinavsingh1531 5 років тому
thank u for the video, btw awesome content
@juanmagm
@juanmagm 5 років тому
Great Dude, thanks a lot BRO!!!
@zeio-nara
@zeio-nara 5 років тому
Perfect video, thank you
@michaelciyke
@michaelciyke 4 роки тому
Thanks. You just helped me a ton!
@krishnagarg6870
@krishnagarg6870 3 роки тому
Anaconda autoformatting option is really great!!
@tasoulman
@tasoulman 6 років тому
Great Video. Also ""Install Package Control" is the last item in the Tools menu
@khandushinde8592
@khandushinde8592 6 років тому
Excellent work!! Great help for us!!!
@danielitaabg
@danielitaabg Рік тому
Amazing Tutorial, thank you!
@davidelliott9030
@davidelliott9030 3 роки тому
Loved this tutorial. Since seeing a random UKposts video by Corey Schafer, I wanted my system to work in a similar fashion. The only thing I can't get to work as he does is the 'linter' is it? The helpful white dot in the gutter indicating an error and the more specific information at the bottom of the page - it's irritating me no end! Still, I'm subscribed to the channel and will be working my way through these videos.
@pmpintogil
@pmpintogil 6 років тому
Good video, very helpfully. Thanks
@scottmurphys
@scottmurphys 6 років тому
Thanks for the video, it got me started on the path of setting up Python in Sublime. However, since you use a Mac and I use a Windows PC there were a few difference not covered. These differences also seem to be hard to find on the official sites. I personally finally found what I was looking for in the comments of your previous Python post. "Gurpreet Singh First, install anaconda for python 3.5 and in sublime text, tools, build systems, make new build system and save this to file and make the filename python.sublime-build { "cmd": ["C:\\Program Files\\Anaconda3\\python.exe", "-u", "$file"], "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", "selector": "source.python" } it will definitely work. Also directory can be different in your system. So to check python directory interpreter open cmd (window) [at the root] c drive level and type "where python.exe" (without the quotes)." Personally I installed Python 2.7 and 3.6 (64). Following the above video I made two files and saved them to my "C:\Users\SMurphy\AppData\Roaming\Sublime Text 3\Packages\User" folder and named them Python27.sublime-build and Python36-64.sublime-build respectively. All but the path was the same as Gurpreet Singh's example. { "cmd": ["C:\\Program Files\\Python\\Python36\\python.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "quiet": true } I hope this give Windows users one more place to chance on an answer, and thank you Cory for your help.
@umarhussain1089
@umarhussain1089 6 років тому
Murph, you're a legend thank you!
@justinjustin4605
@justinjustin4605 6 років тому
Hi can you help me a little more i didnt quite understand what to do i get the [WinError 2]" problem
@scottmurphys
@scottmurphys 6 років тому
Make sure you have watched the video above from at least this point, ukposts.info/have/v-deo/sHaUnYxtfK1m02g.html I am assuming you already have a version of python installed, if not do so. Open a command prompt, (Start, cmd, Enter), go to your c root (cd\), type where python.exe, use the path for the version of Python you need if you have more than one. You may see a path like C:\Program Files\Python\Python36\python.exe, yet when putting the path into the file you need to make all the \ to \\, so in your file it will look like C:\\Program Files\\Python\\Python36\\python.exe I hope this helps.
@severluka045
@severluka045 6 років тому
Found a very useful video, i followed him and used / instead of \ or \\, works now. He also sets up interactive enviromvent ukposts.info/have/v-deo/qnmdZKOkkImBqpc.html
@kevinwatson1176
@kevinwatson1176 6 років тому
Exactly what I needed to know and well stated at that. Thanks for helping
@SimplyMe2010100
@SimplyMe2010100 6 років тому
Thank you so much.It is very helpful
@jerryren5139
@jerryren5139 4 роки тому
Thank you so much, sir!
@ovskihouse5278
@ovskihouse5278 8 місяців тому
I love what you did. Thanks
@ju1iawan
@ju1iawan 3 роки тому
This was a great tutorial and it helped me a lot, tysm!!!!!!
@joshuaf91
@joshuaf91 5 років тому
Thank you for this video. It was a great help!!!!!!
@arashm.1556
@arashm.1556 7 років тому
Hi Corey, Great video. Thanks was wondering, is there a way to remove the extra stuff that console outputs after [finished in ...s]? cheers
@iaggocapitanio7909
@iaggocapitanio7909 4 роки тому
Thanks, bro, very useful!
@cybu6466
@cybu6466 7 років тому
Hey Corey, thanks for this very helpful video on sublime! I have a question though on autocompletion: I would like to have sublime create a list of available features for a function for example. Say i have the following def func(x): return x + 1 Now, how can i get sublime to show me the needed input? Same also for say import pandas as pd a = pd. Then it prompts for the list of available items for this after the dot
@jujubee516
@jujubee516 6 років тому
Thank you so much for your videos!!
@JagabandhuSwain-jb
@JagabandhuSwain-jb 6 років тому
very helpful video.. Thnx Corey :)
@thevsronaldo
@thevsronaldo 4 роки тому
Thank you for sharing. Just have a questions, after instal anaconda, tried for loop example with n, however I did not see warning at the bottom left, "Undefined n" as such. Did I miss anything?
@ObyMikelPS3
@ObyMikelPS3 4 роки тому
After this video I had to subscribe. Amazing video.
@ronikant896
@ronikant896 6 років тому
Hey I'm having trouble getting the colour code on my code I tried sublimeREPL and it didn't change anything... Any tips?
@RobinTheHoodedMan
@RobinTheHoodedMan 6 років тому
Nice video. Lots of going on my To-So list (lol). (Python newbie). Thanks to commenters too. Why re-invent the wheel..Thumbs Up
@shynnsup8383
@shynnsup8383 5 років тому
Hi, thank you for the video, really helpful. One question though, why is that at 2:56 you have one color scheme but in 11:50 you got another one?
@MichaelJendryke
@MichaelJendryke 6 років тому
Great Video! Is there a way to make the font brighter (in the "OPEN FILES" of the sidebar and for opened but inactive tabs)? Thanks
@vladoportos
@vladoportos 6 років тому
Very helpful, was looking for some python environment for coding and this looks great. 80 bucks for bit harder to swallow :) but it works nice.
@ShubhankarD30
@ShubhankarD30 3 роки тому
Thanks for helping!
@ultiumlabs4899
@ultiumlabs4899 5 років тому
Great tutorial Corey, as always, thanks. will you do video on setting up python for VisualStudioCode? and also waiting for your review on Sublime vs VisualStudioCode vs Pycharm..
@Vishwanathrawat
@Vishwanathrawat 7 років тому
Hi Corey, Your python tutorial is awesome. I have watched all of them multiple times. I have just one request. The code is not clearly visible. Sometimes i can recognize whether it is { or [ or (. For new tutorials can you use different font type or bigger font type
@agung4834
@agung4834 5 років тому
Then the loading time when I opening sublime become slower, any tips for that?
@madhavishenoy6497
@madhavishenoy6497 5 років тому
Sir,how can we use Sublime text 3 for user interface programs? Thank you
@vettomd
@vettomd 5 років тому
Thanks for very useful video, love Anaconda.
Setting up a Python Development Environment in Atom
23:01
Corey Schafer
Переглядів 649 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 3,7 млн
Історія загиблого Назара Небожинського
00:54
Суспільне Рівне
Переглядів 995 тис.
Get a knife! | Standoff 2
01:06
Standoff 2 Live
Переглядів 1,5 млн
Python Tutorial for Beginners 2: Strings - Working with Textual Data
21:12
Customizing sublime text
10:55
Clear Code
Переглядів 51 тис.
Python Tutorial: virtualenv and why you should use virtual environments
9:45
Automate Your Development Environment Setup with Scripts and Dotfiles
30:09
OpenAI Launches NEW GPT4-OMNI aka “HER” (Supercut)
14:51
Matthew Berman
Переглядів 24 тис.
The 5 Best Python IDE's and Editors
7:21
Tech With Tim
Переглядів 1 млн
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Переглядів 4,3 млн
The Best Sublime Text 3 Settings and Packages
10:59
Tech With Tim
Переглядів 233 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 3,7 млн