import py2exe, sys, os
sys.argv.append('py2exe')
setup(options={'py2exe': {'bundle_files': 1, 'compressed': True}}, windows=
    [{'script': 'single.py'}], zipfile=None)
Make a py2exe exe run without a console?