Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. data = [3223469900, 3223469902, 3226589467, 628805681, 3231406921, 3334957773, 1806365296, 1790653165];
  2. proxies = []
  3. for item in data:
  4.   proxy = str(item % 256)
  5.   for i in range(3):
  6.     item = int(item / 256)
  7.     proxy = str(item % 256) + '.' + proxy
  8.   proxies.append(proxy)
  9.  
  10. print ', '.join('\'{0}\''.format(p) for p in proxies)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement