Setting up a Python Development Environment in Sublime Text
Vložit
- čas přidán 14. 02. 2017
- 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
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:)
Thanks, Drew!
Thanks for this video. I am completely newbie and setting up text editors and IDE have become a daunting task for me.@@coreyms
Haven't watched it yet but I believe you!
Agree 100%
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
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
Thank you so much dear :)
how do you undo it?
@@omogbemeiyere6475 alt+shift+1
thank you
Bless you :))))
What a great explanation! Now I understand a lot of things about text editors and not only for Sublime. Thank you so much, Corey!
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!
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.
Thanks!
Just found your videos today Corey (Nov. 23, 2017). Best thing that ever happened for my Python learning! Thank You!
3.5 years later...this is still this best tutorial on Sublime Text. Thanks!
Immediately subscribed your channel.
Really crisp and to the point videos.
Absolutely loving it.
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.
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.
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
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.
Bloody awesome video, mate!
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!
anything i've searched about python, you had a valuable course about that in your channel, thank you.
I have watched several videos and I must say this video is the best! This helps a lot! Thank you!
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!
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!! :)
Corey is the first person to appear for any of my programming CZcams searches
My good ness man, this tutorial is amazingly absolute! Thank you for this... so freakin' much!
excellent (comprehensive and clear) video 🙌🙌🙌
many thanks 🤓🤓🤓
Top man Corey that was a great presentation - thanks for taking the time to do that !
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.
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!!
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.
How did python go for you Tyler?
really great job. I use sublime for a while. Recently I restarted python programming and using sublime for it is a real help.
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.
Awesome. Glad to hear you're sticking with it!
Detailed and helpful! Thanks a TON!
Thanks A LOT, Corey! All the great job you are doing is very very helpful.
I wish you all the best. :)
Clean video ,thanks for the sublime settings man .
I'm speechless. Amazing ! 👍
Thank you so much !
Great instructional video. Precise, concise and to the point!
Corey, your videos are amazing. Also doing your OOP tutorials... superb
Hello Corey, i really enjoy ur videos, i've learn a lot.Just want to thank you for the great quality videos and content!
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!
my hero
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.
Hi Corey, Thank you so much for all the tutorials! They are all high quality in content and presentation!
Thanks for making this video. This help me alot. Your github prefrences are nice.
For windows split screen mode is Alt+Shift+2 or View, Layout, Columns: 2
edit: im talking about this part 14:47
Thanks, was looking for that:)
It's Cntl+Shift+2
Everything you need to know about python development environment in sublime text.
Awesome video (Y)
I like your video very much ! They are very helpful to me as a beginner of programming.Just want to say thank you
Marianna theme with pure black backround is what I opted for. Beautiful theme!
Excellent video!, hope more future videos about those silly things that we can be missing!
Completely awesome video! Great job!
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! :)
Concise clear content, thank you very much Corey for these great tutorials!
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
spittin facts
use vim if you want best editor and which is fast too
You are awesome man! Thank you so much for sharing this.
Best Videos on python, thanks man
I'm a newb to coding and looking forward to getting this setup! Great tutorial
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"
Very useful and clear.
Thank you!
Must have channel for everyone working in python and linux.
Great video! I'm really new to coding and I found this really useful!
Thanks Corey Schafer! Very exhaustive explanation 谢谢
keep on going man really thanks for your excellent work
Another awesome tutorial from you - many thanks
This is fantastic, subscribed forever!
I'm glad I've found your channel, once I got a job mate, I'll give something back, I owe you.
Extremely helpful. Thank you.
Thank you so much. This was so helpful.
Excellent work!! Great help for us!!!
4 years later.... still useful. Sidebar Enhancement. very nice.
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!
your tutorials are the best
cheers Mate!! your a great teacher, well done!!
Great Dude, thanks a lot BRO!!!
Thanks. You just helped me a ton!
everything got a lot easier to read after you installed that font package
Thank you for this video. It was a great help!!!!!!
Perfect video, thank you
thank u for the video, btw awesome content
Amazing Tutorial, thank you!
very helpful video.. Thnx Corey :)
Thank you so much for your videos!!
I love what you did. Thanks
Corey Schafer, thank you!!
Good video, very helpfully.
Thanks
Thanks, bro, very useful!
This was a great tutorial and it helped me a lot, tysm!!!!!!
I hereby admit that I used sublime text for years and had no idea that you can build and run your code with it ☝️
Thank you so much, sir!
Thanks for helping!
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.
Loved this tutorial. Since seeing a random CZcams 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.
Thank you so much.It is very helpful
After this video I had to subscribe. Amazing video.
Great Video. Thanks.
Thanks for very useful video, love Anaconda.
Anaconda autoformatting option is really great!!
Great Video. Also ""Install Package Control" is the last item in the Tools menu
Nice video. Lots of going on my To-So list (lol). (Python newbie). Thanks to commenters too. Why re-invent the wheel..Thumbs Up
Nice video,mate !
so neat. Thanks a lot.
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.
Murph, you're a legend thank you!
Hi can you help me a little more i didnt quite understand what to do i get the [WinError 2]" problem
Make sure you have watched the video above from at least this point, czcams.com/video/xFciV6Ew5r4/video.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.
Found a very useful video, i followed him and used / instead of \ or \\, works now. He also sets up interactive enviromvent czcams.com/video/rIl0mmYSPIc/video.html
Exactly what I needed to know and well stated at that. Thanks for helping
Great Video!
Beautiful
"How to setup a development environment"
Step1:change the wallpaper to kali linux dragon
Step2:change colour of cmd output text to green
Step3:enable dark mode on all apps.
Hehe
“I’m in”
Try Text Pastry, if you haven't yet. Got that one today. Needed to define some huge const arrays and w it I got it done in a few minutes. You can use multi select (cmd+d) and paste sequences/patterns.
Thanks for marking Awesome Tuts, Mate! Can you make a Tut on progress bars using python?
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
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..