I am using PyCharm professional 2018.2 with a remote ssh interpreter.
Whenever I try to run any python file, PyCharm just opens up a python console and ignores my file entirely.
I tried looking at my Run Configuration and I noticed the PYTHONUNBUFFERED environment variable was missing, so I set it to 1, saved the configuration, and ran it again, but the same thing happened. What's even weirder is that after running, PYTHONUNBUFFERED was missing from my configuration's environment variables... AGAIN!
The only way I can get my code to run is by unchecking the "Run with Python console" option in the Execution section of the Run Configuration, but I'd like to be able to interact with an active console when my code finishes. Also, debug works just fine...