title: Tor to get always unique IP in python
body: <p>I'm trying to get unique IP from tor in python but sometimes I'm getting old IPs, I've tried 50 times with a 5 seconds delay as well and its still giving me same sometime, from 50 tries I got 19 duplicates and 31 unique but I want to get unique all he time, Or is tor limited?</p>
  
  <p>I'm using Vidalia Bundle from torproject.org.</p>
  
  <p>I'll type the code I found/modified:</p>
  
  <pre><code>import urllib2
  from TorCtl import TorCtl
  import time
  
  for i in range(0, 50):
      print "case "+str(i+1)
      conn = TorCtl.connect(passphrase="password11")
      conn.sendAndRecv('signal newnym\r\n')
      conn.close()
      proxy_support = urllib2.ProxyHandler({"http" : "127.0.0.1:8118"})
      urllib2.install_opener(opener)
      print(urllib2.urlopen("http://www.ifconfig.me/ip").read())
      time.sleep(5)
  </code></pre>
  
  <p>Let me know if anyone can help, also I would like to know if it's possible to get only IPs from a certain country or so and yes unique :)        </p>