RE: Python Proxy Switcher basic tutorial 07-01-2019, 03:59 PM
#7
(07-01-2019, 04:39 AM)Leviathan Wrote: @Sartux you could add something like this:
Add to top of the code:
Code:path = 'list.txt'
Replace:
Code:PROXY_LIST = ['1.10.240.135:8080', '101.109.142.5:8080', '177.124.16.178:45817', '101.109.110.221:8080']
with:
Code:file = open(path, "r") for line in file: print(line, end="")
makes it easier to store bigger numbers of proxies.
Yes it's a good way to add more - I made this as simple as possible so people could learn but there's much more they could do (like threading, capturing lag etc.) if they wanted to.



.![[+]](https://sinister.li/images/modern/collapse_collapsed.png)