I'm trying to get the words(users) from a text file hosted online, such as from www.site.com/mytextfile.txt or pastebin.com/raw/1111111.
I will have multiple "users", one in each line.
My code is something like this:
user = input('Write something')if user == this is where I want it to check the online txt:do somethingelse:do other something instead
The online txt will be like this:
user1
user2
user3
user4
Any ideas?