Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run a py2exe program in windows without the terminal?

Could someone explain to me how can I run my py2exe program, a console program, without the terminal on Windows?

I'm trying to make a program that re-sizes windows and it supposed to start with windows, so I want it hide out but still running...

like image 821
Bruno 'Shady' Avatar asked Feb 26 '10 01:02

Bruno 'Shady'


1 Answers

Use the setup() function like this:

setup(windows=['myfile.py'])

See the list of options for setup().

like image 131
Otto Allmendinger Avatar answered Oct 20 '22 20:10

Otto Allmendinger