Adding More Lines <p>I am trying to make a small text creator application using Python. The concept is just the same as ordinary text creator (e.g. notepad). But I got difficulties to allow users to type a lot of paragraphs. So far, I am just able to allow users to type 2 paragraphs. Is there anyone can help me? Here is my script:</p> <pre><code>print "Welcome to 'Python Flat Text Creator'." print "Please enter the name of your file and its extension (.doc atau .txt)." filename = raw_input("&gt; ") target = open(filename, 'w') typeyourtext = raw_input("Type below: \n") target.write(typeyourtext + "\n") typeyourtext = raw_input("\n") target.write(typeyourtext + "\n") target.close() </code></pre>