This video is 3 years old, and I have just learned from it at least 10x more than I did from so many other videos. Thank you, my dude. You're a legend.
Thanks this is awesome I watched the video but i did something and then the settings changed and it was awesome not to have to watch again the whole thing
+Barbaros YILDIRIM Key Word is Learning as a beginner most people don't know alot about the subject they are learning especially when otws coding or programming
I'd love to mention the fact that despite this being a 4 year old video, it's still relevant and incredibly informative. You can also clearly see how this video could be even more useful to more people now at 4:02 when it shows ~602,000 downloads for Script, when at the time of this comment being written, there is ~4,420(nice),000. Thanks for this great tutorial man, you're epic.
@@MichelSatoer I found it. Maybe scroll a bit? I don't remember which, but one or two of the packages were a bit farther down the list than what was shown in the video
Very helpful and still relevant in 2021 (instead of pip run pip3 or else you may be throwing errors). I found the part starting around 18:00 to be VERY helpful. Thank you.
Very well explained and demonstrated, looked everywhere on youtube for similar tutorial and must admit yours came top, keep up the good work and thank you for providing us with a such a informative video
I wish I found this when I was setting up Atom recently for Python. Thanks for highlighting some of the other useful packages and how they are used. Really useful. Thanks
These tutorials are great! I'm pretty new to python and have been using atom as my editor. This has really helped show me how to make the environment much better. Thanks!
Thanks for the awesome walkthrough Corey! I have been using Atom for some time now, and your tips helped me completely revamp my editor. I would've given a +1000 if possible.
Note: By default python scripts run with python 2.7. To change it you have to go to Atom→Preferences→Open Config Folder, and open.atom/packages/script/lib/grammars/python.coffee, Changing python to python3 under 'Selection Based' and 'File Based', saving it.
For autocomplete, it's better to turn off "Show Suggestions On Keystroke" in autocomplete-plus instead of disabling the package, which still allows you to use autocomplete on demand (Cmd-Space on mac); and that setting seem to be inherited by the autocomplete-python package. This way you have it when you need it, but it won't get in your face when you don't.
hi Corey, thank you for your video, i have followed your instructions to install linter-flake8 on MAC, but i got Linter error says "[Linter] Error running Flake8 See Console for more info." any advises please
In my case, `autocomplete-python` didn't work without `autocomplete-plus` core package disabled. So just check it out, if you had same problems. Thanks a lot for such great video tutorials!
Hey Corey, I am a beginner watching your python tutorials. I decided to install Atom so that I could practice alongside your videos. However, setting up Atom hasn't been as easy I thought it would be. For me, "script" isn't even showing up when I search for it. Everything in your video makes sense and works up until 3:50. When I search for "script", a bubble pops up with "Searching for 'script' failed. Wondering if you, or anyone else, have encountered this issue. I am very interested in continuing your tutorial and I plan to educate myself further online, so I'm hoping to receive some advice! Thank you!
Can't find the Script package at 3:50? Head to Settings > URl handling > Click on "Register as default..." Then go to the package page itself: atom.io/packages/script/ Click Install > Open with Atom at prompt. In action: th-cam.com/video/driuB-jkEEs/w-d-xo.html However, Script package doesn't take input, so you might wanna use another one. atom-python-run is one: th-cam.com/video/yO29gua2948/w-d-xo.html
This is quite a nice tutorial. It was a great help configuring atom to use python for the first time! Especially the section about running the code with different profiles was very informative.
PROTIP: In Windows, when using the command line to install autopep 8 and flake8, RIGHT CLICK ON IT AND RUN AS ADMIN. If you do not, you WILL 100% get errors and it will not work. It will have permission conflicts and confuse the hell out of you. Corey, maybe add an annotation on the video over these parts. Other than that, you are a god among men with awesome videos.
Corey: you've probably discovered this already but to enlarge the text in the script package just edit the CSS file script.less and add a font-size property to .script-view.line, e.g., .script-view.line {font-size:14px;}. This is at the bottom of the script.less CSS file.
Good video, and I do wish more people saw this. 'Tis high quality. I have to admit though, I find people like you who don't like autocomplete a little weird. :p (I mean that in the nicest, most jocular way possible.) I find it invaluable as a reference, particularly with my own code. It answers the question "What did that function do again?" quickly, and it also nudges me to document stuff, even if I'm just doing it for funzies. (I have a really selective memory. Quick on the uptake, but I'll forget most of whatever it is by tomorrow, probably...what was I talking about again?)
guys my autocomplete python doesn't work, neither does autocomplete-plus and snippets. I have enabled all of these and I have not disabled any packages in atom.
I can’t believe that educators start students off on heavy, fully functioning IDE’s. It’s like training for a marathon on a treadmill in a climate-controlled room. I always used net beans for Java and Anaconda for python when learning and recently started using Atom on Mac. It’s WAY lighter than anaconda and you actually have to know how to properly download and connect dependencies (still easier than Windows) but man I learned a lot about programming environments and hell, I even learned how automate key bindings in Mac - something that never occurred to me. It’s simple to use, fast, and I can always link it to a larger IDE for a big project. The only thing I don’t like is that the auto-fill suggestions aren’t as good as something like PyCharm, but maybe they’ll incorporate ML in the future to fix that.
Hi Corey, gr8 tutorial, I'm not sure if I missed it but to get the font you have you need to install Fonts (lots of monospace fonts) from the package installer.
im trying to run my program and i keep getting 'python' is not recognized as an internal or external command, operable program or batch file. [Finished in 0.06s]
@@ExplosiveKaboom when you are installing python on your computer, make sure you check the box that says add to PATH, this will solve your problem i believe, for all the info on this stuff I recommend stackoverflow, they are very helpful
[Linter] Error running Flake8 Error: Failed to spawn command `flake8`. Make sure `flake8` is installed and on your PATH at C:\Users\steve\.atom\packages\linter-flake8 ode_modules\atom-linter\lib\helpers.js:130 at process._tickCallback (internal/process/next_tick.js:68) Happens everytime i edit anything in a file. Please help!
If you get " 'python' is not recognized as an internal or external command" like I did, try running cmd and typing atom, and run it from there. Worked for me.
This was very helpful. I would love an update that would describe how to set up the IDE features in atom and using the atom-ide-debugger-python and related packages.
Following this a year later and on a Windows machine, it posed a little challenge :D Some points for *Windows* users (as of April 2018): - python-autopep8 is also a part of much bigger and more universal package called atom-beautify - I ran into a problem when the atom-beautify package didn't find my installed scripts (autopep8.exe and isort.exe) and I had to enter the absolute paths into the Executables settings (was under appdata oaming\python\scripts\ both) - same problem with the flake8 module, and the same solution
After watching your video I looked around for changing size of fonts of script window and main fonts. For all others, I found (all happens in the style.less file - you reach it over File | Stylesheet. # changing the workspace font atom-workspace { font-size: 14px; } #changing the script window font .script-view .line { font-size: 16px; }
Very good, Enjoyed it very much, thanks alot By the way, at the end of the video, you could easily copy the small text into the ide itself, and since the font size was 20, it would be pretty clear..
Corey: You should review the MS Visual Studio Code IDE. Its free, has a very modern looking UI, has intellisense, has a great debugger and the setup for python is easy.
Hello, I wanted to point out one important package which you have missed to show, the atom python run package without which one cannot use user defined input variables. Thank you
Do you have an alias set up for pip=pip3? I tried to do that, but I was unsuccesful. I must type pip3 in order to be able to install anything on my mac.
This video is 3 years old, and I have just learned from it at least 10x more than I did from so many other videos. Thank you, my dude. You're a legend.
This video was practically useless to me. And not just because I don't use Mac.
@@greg77389 same
@@abdulmenemriad4790 same
Stuff he downloaded:
Script
Disable autocomplete plus & snippet
auto complete python
file icon
minimap
python auto pep8 (13:10)
linter flake8 (15:57)
Thanks bud
Thank you, you have captured it well with your efforts, wish you had timestamp for each .. that would be so awesome
Thanks this is awesome I watched the video but i did something and then the settings changed and it was awesome not to have to watch again the whole thing
Best Programming Tutorials on TH-cam.
just a quick note for everybody, on windows, it is settings.
Thanks
I think if somebody can't realize it's "settings", that one should stop learning to program...
+Barbaros YILDIRIM Key Word is Learning as a beginner most people don't know alot about the subject they are learning especially when otws coding or programming
Didn't understand your comment till he said: Now on Windowds...
THANKS!
i know you wrote this comment a year ago but thank you for taking the time to write this and help me :D
Loving this channel so far. Rather than just learning one thing, you learn about 15 other things at the same time. Keep it up lol.
You are a natural born teacher and I appreciate you taking the time to make these videos. You make the process of learning enjoyable.
I'd love to mention the fact that despite this being a 4 year old video, it's still relevant and incredibly informative. You can also clearly see how this video could be even more useful to more people now at 4:02 when it shows ~602,000 downloads for Script, when at the time of this comment being written, there is ~4,420(nice),000. Thanks for this great tutorial man, you're epic.
Hmmm I can't seem to find this "script" made by rgbkrk inside the packages search
@@MichelSatoer I found it. Maybe scroll a bit? I don't remember which, but one or two of the packages were a bit farther down the list than what was shown in the video
@@MichelSatoer I'm having the same problem. Did you solve it?
@@MichelSatoer Yeah I can’t find it, did they remove it? Seems kind of pointless if I can’t run my code…
@@LocksVid it's pre-installed
A really old video just earned you a new sub. Thank you for a well explained video with overall great quality!
Just found out about this channel and I'm hooked, best programming tutorials, period.
Thanks!
Very helpful and still relevant in 2021 (instead of pip run pip3 or else you may be throwing errors). I found the part starting around 18:00 to be VERY helpful. Thank you.
Very well explained and demonstrated, looked everywhere on youtube for similar tutorial and must admit yours came top, keep up the good work and thank you for providing us with a such a informative video
Working on a script to automatically like all your videos and leave a comment “Corey is the man !!!”
I wish I found this when I was setting up Atom recently for Python. Thanks for highlighting some of the other useful packages and how they are used. Really useful. Thanks
Mate I'm blown away at how helpful this vid is. Following this has made me excited to become a better coder. Much appreciated!
These tutorials are great! I'm pretty new to python and have been using atom as my editor. This has really helped show me how to make the environment much better. Thanks!
Is there something you cannot explain better! every video of you is a goldmine!! awesome job :thumbsup:
Great video. I like the odd 'oops' here and there, since it shows that even the best of us are error prone and it is no big deal.
Thanks for the awesome walkthrough Corey! I have been using Atom for some time now, and your tips helped me completely revamp my editor. I would've given a +1000 if possible.
BEST PYTHON CHANEL ON TH-cam :-)
Thank you Corey.... made setting up Atom a very simple process so I can just get on with Python! great video
1. Install packages [script, autocomplete-python, file-icons, minimap, python-autopep8f, linter-flake8]
2. Install themes [predawn-syntax]
3. Disable packages [autocomplete-plus, autocomplete-snippets]
Real Education Never Fades
Brilliant! Concise. Clear. Efficient.
Corey, you are the best !
Your videos are simply the best on the entire internet !
Note: By default python scripts run with python 2.7. To change it you have to go to Atom→Preferences→Open Config Folder, and open.atom/packages/script/lib/grammars/python.coffee, Changing python to python3 under 'Selection Based' and 'File Based', saving it.
For autocomplete, it's better to turn off "Show Suggestions On Keystroke" in autocomplete-plus instead of disabling the package, which still allows you to use autocomplete on demand (Cmd-Space on mac); and that setting seem to be inherited by the autocomplete-python package. This way you have it when you need it, but it won't get in your face when you don't.
hi Corey, thank you for your video, i have followed your instructions to install linter-flake8 on MAC, but i got Linter error says
"[Linter] Error running Flake8
See Console for more info."
any advises please
In my case, `autocomplete-python` didn't work without `autocomplete-plus` core package disabled. So just check it out, if you had same problems. Thanks a lot for such great video tutorials!
Great explanations. I wish I had found this channel a few years earlier, but it's still useful now.
Coming from one of your git videos, also grateful for this one. Absolutely subscribed.
Hey Corey, I am a beginner watching your python tutorials. I decided to install Atom so that I could practice alongside your videos. However, setting up Atom hasn't been as easy I thought it would be. For me, "script" isn't even showing up when I search for it. Everything in your video makes sense and works up until 3:50. When I search for "script", a bubble pops up with "Searching for 'script' failed. Wondering if you, or anyone else, have encountered this issue. I am very interested in continuing your tutorial and I plan to educate myself further online, so I'm hoping to receive some advice! Thank you!
i also am experiencing the same thing
your tutorials are the best, keep up the good work!!
Saved me a lot of time for planning projects. Like your approach and style.
Agreed!!
Can't find the Script package at 3:50?
Head to Settings > URl handling > Click on "Register as default..."
Then go to the package page itself: atom.io/packages/script/
Click Install > Open with Atom at prompt.
In action: th-cam.com/video/driuB-jkEEs/w-d-xo.html
However, Script package doesn't take input, so you might wanna use another one.
atom-python-run is one: th-cam.com/video/yO29gua2948/w-d-xo.html
ty ty ty
You sir have an amazing way of teaching and your thorough explanation and attention to what we might miss is highly appreciated.. thank you
Excellent! Thank you for putting that together. Saved me a lot of time setting up Atom.
This is quite a nice tutorial. It was a great help configuring atom to use python for the first time!
Especially the section about running the code with different profiles was very informative.
PROTIP: In Windows, when using the command line to install autopep 8 and flake8, RIGHT CLICK ON IT AND RUN AS ADMIN. If you do not, you WILL 100% get errors and it will not work. It will have permission conflicts and confuse the hell out of you.
Corey, maybe add an annotation on the video over these parts. Other than that, you are a god among men with awesome videos.
thanks for all your contributions. you are one hell of a person.
Excellent work, nice walkthrough bud, subscribed 👍
Great one!
It makes fun to install one package after another and wath the IDE "grow".
And even the theme looks great!
Unfortunately autopep8 doesn't work inside atom. When used from command line via shell works. Linter doesn't also. Don't know why :(
Woah! Precise & Clear. Subscribed !!!
Corey: you've probably discovered this already but to enlarge the text in the script package just edit the CSS file script.less and add a font-size property to .script-view.line, e.g., .script-view.line {font-size:14px;}. This is at the bottom of the script.less CSS file.
Good video, and I do wish more people saw this. 'Tis high quality.
I have to admit though, I find people like you who don't like autocomplete a little weird. :p (I mean that in the nicest, most jocular way possible.) I find it invaluable as a reference, particularly with my own code. It answers the question "What did that function do again?" quickly, and it also nudges me to document stuff, even if I'm just doing it for funzies. (I have a really selective memory. Quick on the uptake, but I'll forget most of whatever it is by tomorrow, probably...what was I talking about again?)
Great video. I learned a lot. Currently Atom comes with Script and Autocomplete-python packages pre-installed. Thanks!!
Well done and thank you, kind sir. You have saved me much time and given me a nice jump start to using Atom! I'm now a subscriber as well. :)
guys my autocomplete python doesn't work, neither does autocomplete-plus and snippets.
I have enabled all of these and I have not disabled any packages in atom.
A-Mazing! Thanks. I am getting into BioInformatics and this helped me a lot, even though I am 10+ years C++ coder.
All your videos are awesome! Like I found a treasure!! :D
Thank you so much Corey. These videos are extremely helpful as a beginner.
I can’t believe that educators start students off on heavy, fully functioning IDE’s. It’s like training for a marathon on a treadmill in a climate-controlled room. I always used net beans for Java and Anaconda for python when learning and recently started using Atom on Mac. It’s WAY lighter than anaconda and you actually have to know how to properly download and connect dependencies (still easier than Windows) but man I learned a lot about programming environments and hell, I even learned how automate key bindings in Mac - something that never occurred to me. It’s simple to use, fast, and I can always link it to a larger IDE for a big project. The only thing I don’t like is that the auto-fill suggestions aren’t as good as something like PyCharm, but maybe they’ll incorporate ML in the future to fix that.
Your videos are incredibly helpful! Thank you so much for all your work!
Excellent video. Wonderful detail and background. Thank you.
Thank you so much for presenting this useful information. You saved me hours of frustration. Subscribed!
I need to salute you for your every video rocks!
Learning so much from this guy!
Hi Corey, gr8 tutorial, I'm not sure if I missed it but to get the font you have you need to install Fonts (lots of monospace fonts) from the package installer.
Thanks for this. Now my fonts look much better!
finally i solve my problem with the run code thank you so much
@Corey Schafer Thanks a lot!! I suggest this video to anyone who's a begginer in Atom(for python)
Great tips and guidance! Thank you for taking the time to do this!
Great! Introduction to very useful packages! Thanks a lot!
Great Video. Great Explanation. Thank you very much Mr. Corey Schafer
You've earned yourself a bell click Sir
did great job with tutorial followed through all of it
That was great and it helped me a lot. Thanks Corey!
im trying to run my program and i keep getting
'python' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.06s]
You need to install python on your PC first
@@TaylerPlays I did but it still doesnt work
@@ExplosiveKaboom when you are installing python on your computer, make sure you check the box that says add to PATH, this will solve your problem i believe, for all the info on this stuff I recommend stackoverflow, they are very helpful
Im having the same problem right now can u pls tell me if u've found any solutions
okay nevermind i just found a solution
Thank you for sharing this. autocomplete-python worked for me after enabling autocomplete-plus again.
[Linter] Error running Flake8 Error: Failed to spawn command `flake8`. Make sure `flake8` is installed and on your PATH
at C:\Users\steve\.atom\packages\linter-flake8
ode_modules\atom-linter\lib\helpers.js:130
at process._tickCallback (internal/process/next_tick.js:68)
Happens everytime i edit anything in a file. Please help!
same, you ahve to change your path, but I don't know how
Thanks for this useful piece of information and your time&efforts
Super helpful!, much appriciated my man!
Great, well explained tutorial! Thanks!
Best python tutorial!! Your awesome!!
Thanks for your wonderful tutorial. All the best for ever.
Thanks Corey. Very helpful :)
Excellent tuto about Atom config. Very usefull. 1000 thanks.
If you get " 'python' is not recognized as an internal or external command" like I did, try running cmd and typing atom, and run it from there. Worked for me.
This was very helpful. I would love an update that would describe how to set up the IDE features in atom and using the atom-ide-debugger-python and related packages.
Me too!
Thank you Corey for this nice tutorial.
Quick note for peeps. When using autocomplete-python, autocomplete plus HAS to be enabled.
excellent. helped me alot. thank you very much
Thank you! This video was very helpful.
Following this a year later and on a Windows machine, it posed a little challenge :D
Some points for *Windows* users (as of April 2018):
- python-autopep8 is also a part of much bigger and more universal package called atom-beautify
- I ran into a problem when the atom-beautify package didn't find my installed scripts (autopep8.exe and isort.exe) and I had to enter the absolute paths into the Executables settings (was under appdata
oaming\python\scripts\ both)
- same problem with the flake8 module, and the same solution
Thank you, this helped
I am not sure how to do this.
Could you help me understand?
I do not find this appdata folder...
Oh, I want return to Linux soon
for output font size (19:50), add to Stylesheet
.script-view .line {
font-size: 26px;
}
What should it do?
Where is the style sheet?
Never mind. Just go to files then to style sheet and just copy and paste the block above.
After watching your video I looked around for changing size of fonts of script window and main fonts.
For all others, I found (all happens in the style.less file - you reach it over File | Stylesheet.
# changing the workspace font
atom-workspace {
font-size: 14px;
}
#changing the script window font
.script-view .line {
font-size: 16px;
}
Very good, Enjoyed it very much, thanks alot
By the way, at the end of the video, you could easily copy the small text into the ide itself, and since the font size was 20, it would be pretty clear..
Thanks so much! This video was very useful to me, Greeting from Colombia.
Anytime, Diego. Glad to hear it was useful. Take care!
thank you sir, your video is so helpful !
Helped me a lot. Thanks for the nice video :)
Apparently, for newer versions, autocomplete-plus should be left enabled for autocomplete-python to work
Corey: You should review the MS Visual Studio Code IDE. Its free, has a very modern looking UI, has intellisense, has a great debugger and the setup for python is easy.
Linter isn't working after I've installed it as shown. Any advise?
Thank you so much. You are a great teacher.
Hello,
I wanted to point out one important package which you have missed to show, the atom python run package without which one cannot use user defined input variables.
Thank you
Schafer, this is GREAT!!! Thanks.
(18:33) What do I put in the command for python 3.8? I tried /usr/bin/python3.8 but it tells me the language is undefined.
Do you have an alias set up for pip=pip3? I tried to do that, but I was unsuccesful. I must type pip3 in order to be able to install anything on my mac.
You solved my problem! Thank you :D
Excellent Video
You are a timesaver, thanks!
Does anybody else have the problem where Atom isn't able to execute code demanding input from the user?