1

I'm using atom for 2 months to run Julia files and it works.

I would like to run some python files too

To do that, I installed the IDE-python package

When Atom is started, there is the following picture:

enter image description here

I can run a Julia file without problem, but I can't run a python file (and there is not a python console...)

How can I add it and run the python file ?

6
  • Kind of off-topic comment- but why do you need to run python within atom? its trivial to execute a python program in a terminal window. Commented Jun 22, 2018 at 14:40
  • Because I have a big file and I would like to execute a Julia file and a Python file in the same IDE... Commented Jun 22, 2018 at 14:44
  • ok. I am not sure if it is still around but script might a package worth looking into for you Commented Jun 22, 2018 at 14:50
  • Try atom-python-run package Commented Jun 22, 2018 at 14:54
  • Possible duplicate of Running Python from Atom Commented Jun 22, 2018 at 14:56

1 Answer 1

1

You should load the Script module into Atom. Once loaded, it will show up under the packages menu or you can use the command-I keystroke to run your python code.

To use a shell to run python install the module platformio-ide-terminal. When you click this under packages you'll get an option to toggle a terminal window. It will show up in the bottom third of Atom window.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you for your answer. I installed the PlatformIO IDE Terminal but I have still a problem: I read the commands of the PlatformIO IDE Terminal but when I tried to run my Python file (with Crtl + enter), it is not working: The cursor go to the next line... If I run the program with the bottom on the left, the program is running it with Julia...
From the new terminal you should run your code with "python filename.py" and return.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.