title: "Initializing" a constant containing a file in python?
body: <p>I know that initializing variables/constants in python is not necessary, but my professor still wants us to initialize variables for practice.</p>
  
  <p>In my program, I have a file to which I assigned a name:</p>
  
  <pre><code>infile = open("studentinfo.txt", "r")
  </code></pre>
  
  <p>How would it make sense to initialize the constant "infile"? Can I initialize it as an empty string, or should I do it as an empty file maybe?</p>