title: Python function to print a dot to console while HTTP call executes
body: <p>I am somewhat new to Python. I have looked around but cannot find an answer that fits exactly what I am looking for.</p>
  <p>I have a function that makes an HTTP call using the requests package. I'd like to print a '.' to the screen (or any char) say every 10 seconds while the HTTP requests executes, and stop printing when it finishes. So something like:</p>
  <pre><code>def make_call:  
    rsp = requests.Post(url, data=file)  
    while requests.Post is executing print('.')  
     
  </code></pre>
  <p>Of course the above code is just pseudo code but hopefully illustrates what I am hoping to accomplish.</p>