How to save indention format of file in Python
<p>I am saving all the words from a file like so:</p>

<pre><code>     sentence = " "
   fileName = sys.argv[1]
   fileIn = open(sys.argv[1],"r")
   for line in open(sys.argv[1]):
      for word in line.split(" "):
         sentence += word
</code></pre>

<p>Everything works okay when outputting it except the formatting.
I am moving source code, is there any way I can save the indention?</p>
