--noconcole is for application with a gui.

 

 

 


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alec Bennett
Gesendet: Sonntag, 9. Juli 2006 21:49
An: PyInstaller Mailing List
Betreff: [PyInstaller] how to have a commandline app that returns text?

 

I'm wondering how to have an application that runs from commandline that outputs text, but doesn't spawn a console window?

Suppose I want to have it print my name. If I simply put:

print "Alec Bennett"

and compile with --noconsole, it won't output anything.

If I put:

sys.stdout.write("Alec Bennett")

I also get nothing.

Does anyone know how to accomplish this?

Thanks.

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to