title: creating a Windows screensaver with Python?
body: <p>Screensavers in Windows are just regular executables being ran if idle for certain amount of time.
  They are the same ".exe" files, only with extension (renamed) ".scr".
  To use a ".scr" file as your screensaver, you right-click on it and choose "Install".</p>
  
  <p>Python has a number of ways to get your Python script(s) to an .exe file. You can use existing tools like py2exe, write your own C++ exe which just triggers the main Python script, or use tools which convert .bat batch files to .exe executable files.
  I've tried my own C++ exe and few batch converters, but none give what I want. py2exe is limited for my use. My Python script always fails to run. If the console is visible, this is all that is shown:</p>
  
  <pre><code>C:\Windows\system32&gt;python -i "main.py"
  
  C:\Windows\system32&gt;pause
  Press any key to continue . . .
  </code></pre>
  
  <p>What can I do to turn my Python program into a true Windows screensaver?</p>
  
  <p>BTW, I use the Panda3D engine for the screensaver visuals, if that matters.</p>