I have watched this video a few times and trying to figure out how they made python work with atom. How did they make it work through the command line? Trying to figure out the steps to follow along with the video. Any help would be appreciated, Thank you
Setting up Python
There is no inherent link between Atom and Python. I use the Atom editor to obtain syntax highlighting and a little help. We could technically use any editor to write our Python code as long as the editor is producing raw text. After the install, you should be able to type
python --versionin the terminal window to check that Python is installed. If that works, then you should be able to run any of the Python files that you write by typing
python main.py(if the file is named main.py).
Let me know if you run into any other issues.
When I brought up a command prompt I typed python --version, it is not installed. When you go to https://atom.io/ and https://www.python.org/
and download and install each of them there must be a step or two to get atom to be used as a python editor. If you wanted to follow your video and set your computer up exactly as you have it in the video from scratch it seems it is not that easy or at least for me. Great Video BTW
I think that I know what happened. I am assuming that you are using a Windows machine. During the installation of Python, there is a little checkbox that says Add Pythonx.x to the PATH or something of that nature. If you rerun the installation executable and check that box. At that point, try the above again and let me know what happens.
You nailed it! Works like your video now. Really enjoy your video.
Have a good one