How can l open a file from atom in the terminal in order to execute commands | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can l open a file from atom in the terminal in order to execute commands

27th Aug 2016, 1:00 PM
Renato Dodani
Renato Dodani - avatar
2 Answers
+ 1
Edit: I learned there's an Atom package that does exactly that. https://atom.io/packages/script Add it to Atom. Thank you.
1st Sep 2016, 7:12 PM
Odogwudozilla
Odogwudozilla - avatar
0
Atom is an editor and to my knowledge editors do not run commands. They help you with creating and editing the programmes. Why not just save the file and then execute in Python by opening it in the terminal? Also, you can run Python via Command Prompt or Powershell by typing 'python' and then the filename and 'enter'.
1st Sep 2016, 6:08 PM
Odogwudozilla
Odogwudozilla - avatar