old_contents: from distutils.core import setup
  import py2exe
  
  setup(
      console=['wsa4000demo.py'],
      options={'py2exe':{
          'compressed':1,
          'bundle_files':1,
          'excludes':['Tkconstants', 'Tkinter', 'tcl'],
          }},
      zipfile=None,
      )
  
new_contents: from distutils.core import setup
  import py2exe
  
  setup(
      windows=['wsa4000demo.py'],
      options={'py2exe':{
          'compressed':1,
          'bundle_files':1,
          'excludes':['Tkconstants', 'Tkinter', 'tcl'],
          }},
      zipfile=None,
      )
  
subject: make py2exe output not open a console