title: Clear terminal without creating empty space in python
body: <p>I have found no method of clearing the terminal window from within a python script that does so without creating a huge empty space above the screen. I am writing a script that needs to periodically update the screen and doing so using <code>os.system("clear")</code> makes for a long scroll to see wherever you were before running the script. [edit] <code>os.system("tput reset")</code> also does this [/edit]</p>
  
  <p>Edit: I forgot to mention which operating system I'm using, it's Mac OS X 10.10.</p>
  
  <p>To clarify, I <strong>am not</strong> looking for just any way to clear the screen, I am looking for a way that <em>is not functionally equivalent to hitting enter a bunch of times.</em> (e.g. <code>print("\n\n\n\n\n\n...")</code>)</p>