Installing a new Windows system, I\'ve installed CygWin and 64 bit Python (2.7.3) in their default locations (c:\\cygwin and c:\\Python27\\python),
c:\\cygwin
c:\\Python27\\python
According to https://stackoverflow.com/a/9549255/745913 you can also try
/cydrive/c/Python27/python.exe -i foo.py
another universal workaround is invoking it via winpty https://github.com/rprichard/winpty and this is not really a python specific issue.
winpty