repl.it, but you can copy and paste what you need into a virtual file. If you use a REPL on your computer, like the default one that you get when you type
python into the command line, then yes.
P.S. I’m a newb at this, so could you walk me through running a script in an atom terminal?
First, you should rename your file because it doesn’t have a file extension; it has to end in
.py. I recommend not using a space in the filename, because command line instructions are punctuated by spaces and a space in a filename requires that the path to the file always be wrapped in quotes. This isn’t hard, but as a newbie it might be something that you forget until it bites you in the ass, and I know for a fact that the
script package will give an error because it doesn’t handle the space correctly.
Out of the packages I listed, I think
termination is the most straightforward. If you download that package and open its view, you’ll see a command line prompt appear in Atom. The current working directory should be the first project folder you have open in Atom (the one at the top of the tree view). If that folder contains your script, all you have to do is type
python test-code.py, or if you want to keep the space it can be
python 'test code.py'. If your script is in a child folder, you can use
cd Tutorial to change the directory.