title: How do I make Python code to execute only once?
body: <p>I was thinking of how you execute code only once in Python. What I mean is setup code like when you set-up software; it only happens once and remembers you have already set up the software when you start the program again.</p>
  
  <p>So in a sense I only want Python to execute a function once and not execute the function again even if the program is restarted.</p>