Sorry, I probably should have searched it before. here is the exactly same issue.
I had to use python -i filename.py