I, think the problem is that you are using the window option rather than the console option for a console application. For any further issues related to py2exe you may refer this Link.
Use this code to build your .exe:
from distutils.core import setup
import py2exe
setup(console=['Test.py'])