title: How to open multiple files in loop, in python
body: <p>I'm new to python.
  I'm want to open multiple files in Python. I'm can open each of them with <code>open()</code> function.
  I'm not sure about formatting.</p>
  
  <pre><code>with open("/test/filename.css", "r") as f:
       s = f.readlines()
       print(s)
  </code></pre>
  
  <p>I'm can open one file, but I'm not sure how to open multiple files.
  This is the code that I have. In <code>live_filename()</code> function have many files.</p>
  
  <pre><code>inputfiles = live_filename()
      for live in inputfiles:
          with open("/test/............. .css, "r") as f:
  </code></pre>
  
  <p>I don't know how to put code formatting in space. and I think the <code>live</code> variable is a tuple can't concatenate str. what should i do?</p>