title: Deploying a Python Script to Windows and Linux
body: <p>I have a python server that I need to run in both a Linux and Windows environment, and my question is about deployment.  What is the best method for deploying the solution instead of just double clicking on the file and running it? </p>
  
  <p>Since I use the server_forever() on the server, I can just run the script from command line, but this keeps the python window open.  If I log off the machine, naturally the process will stop.  So what is the best method for deploying a python script that needs to keep running if the user is logged in or off a machine.  </p>
  
  <p>Since I am going to be using multiple environment, Linux and Windows, can you please be specific in what OS you are talking about?</p>
  
  <p>For windows, I was thinking of running the script 'At Startup' using the Windows scheduler.  But I wanted to see if anyone had a better option.  For linux, I really don't know what to create.  I am assuming a CRON job?</p>
  
  <p>Deployment does refer to coding, so using serve_forever() on a multiprocessing job manager keeps the python window open upon execution.  Is there a way to hide this window through code?  Would you recommend using a conversion tool like py2exe instead?</p>