'How to setup a python terminal in Atom on Windows 10

I have a good working system on Windows 10 for Python using Atom as my IDE. I learned Python using the Replit web IDE which had four panels - files tab, code tab, console and shell tabs. I write my script in the code tab (which has to be labelled 'main' to be able to run - a major nuisance as I have to keep renaming my files to run them in this panel). However if I wrote a simple script like p = 3/4, and ran it I could go to the console and enter p at the cursor to have the console print 0.75. If I wrote z = input('Enter a number :') and ran it, the console would echo 'Enter a number :' and if I entered an number, say 5, and then typed 'z' at the console cursor the string '5' would be displayed. This interactive function doesn't seem to work in Atom. I have installed 'script' package and scripts do run, showing results in the bottom panel. I have tried installing 'atom-ide-terminal' and 'terminal-plus' and in each case I have got a panel at the bottom of the screen with a flashing cursor that doesn't do anything except flash. I must be using the wrong windows' cmd.exe maybe? It seems from what I have read that I should be using powershell maybe? But how to set that up so it works? Sorry for such a long and rather rambling question, but has anybody successfully set up a terminal on atom (latest version) with Python (latest version) with Windows 10 (professional [fully updated] )? Regards Max



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source