title: Default text for Python input
body: <p>If I ask for user input, Python will let me use the arrow keys to move around what I typed and change it if necessary. For instance, when running the following program</p>
  <pre><code>user_input = input(&quot;file name -&gt; &quot;)
  print(user_input)
  </code></pre>
  <p>I can use the left arrow to go back, change the 'G' to 'g'</p>
  <pre><code>file name -&gt; thisIsAVeryLonGFileName.txt
  </code></pre>
  <p>and when I then hit Enter it prints</p>
  <pre><code>thisIsAVeryLongFileName.txt
  </code></pre>
  <p>Is there a way to prompt for user input with a default response already provided which then enables the user to use the arrow keys to modify the default response rather than having to type the whole response in?  Basically, things should work just like above but without the user having to type anything in initially (instead it is provided by the program).</p>