I am not sure if this is possible but I would like to run PYTHON CODE from a .bat file and not a python file.
Something like this in a .bat file:
python
print('Hello World')
Edit: I didn't add it to the question, but in addition I would like for an active python console to remain open after running the code.