title: pyinstaller not run part of the code selecting noconsole or windowed option
body: <p>I developed couple of python scripts that right now i'm going to join in a <strong>tkinter</strong> gui.
  To makes this simple application user-friendly and portable for my collegues, I'm using <strong>pyInstaller</strong> to pack everything in a compiled exe file.</p>
  
  <p>Everything works fine as far as I don't try to hide console with <strong>--noconsole</strong> or <strong>--windowed</strong>.</p>
  
  <p>In this case just part of the script does not produce expected output.</p>
  
  <p>Compare with the other part of the code, I can notice that this part uses <strong>win32com.client</strong> to process an <strong>excel</strong> file while the other works on plain text.</p>
  
  <p>Have anybody experienced something like this?</p>
  
  <p>Thanks, Ale_Trex.</p>