title: In Windows how to keep running a python script in the background even after logging out?
body: <p>A Google search revealed some good answers but they don't exactly solve my problem.</p>
  
  <p>For running a python script after logging out from SSH the answer is:
  <a href="https://stackoverflow.com/questions/2975624/how-to-run-a-python-script-in-the-background-even-after-i-logout-ssh">https://stackoverflow.com/questions/2975624/how-to-run-a-python-script-in-the-background-even-after-i-logout-ssh</a></p>
  
  <p>To run python in the background in Windows, the answer is:
  <a href="https://stackoverflow.com/questions/783531/how-to-run-a-python-script-in-the-background">https://stackoverflow.com/questions/783531/how-to-run-a-python-script-in-the-background</a></p>
  
  <p>However, what I want to do, for example, is to print the name of the user currently logged into the computer. The way I imagine solving the problem is to log in as an admin (I have root access), run a suitable python script which regularly updates an html file on a server, and then access the html file whenever I want after logging out from the computer as an admin.</p>
  
  <p>Update 1: The system has Windows XP. So I can't use scheduled tasks to run the script every few minutes.</p>