SFML community forums
Bindings - other languages => Python => Topic started by: nbermudez on January 30, 2013, 01:38:21 am
-
Greetings!
I've been creating a game using python 2.7 + PySFML 1.6 for my first time.
I don't know if I'm doing something wrong but when I run my main script the game renderWindow raises as spected but so does it a command prompt (readonly).
At some point I want to distribute this little game and I don't want that prompt to pop up! Any way to do that?
I use IDLE for Windows to write my python code.
Thanks in advance for your help!
-
append an "w" to your filename's extension, so it becomes ".pyw".
you can also use pyinstaller (http://www.pyinstaller.org/) to create "binaries" of your projects for both GNU/Linux and Windows.
-
Thanks! I was thinking in using pyinstaller once I finish the game, during testings I had no idea what to do.
Thank you again :)