Maybe I am wrong to think that
elpy is or should be able to do that.
But can't I just run the current (means: open in current active buffer)
I read about C-c C-c. But this just open a new window with a python shell. But the file does not run automaticly.
I looked into emacs's menu bar and also there I could not find a hint how to "run".
There is a
if __name__ == '__main__': in that file. And it is executable by filesystem.