from distutils.core import setup import py2exe setup ( console=[ { "script" : "doc2file.py" } ], )