I have this script:
accounts = open("accounts.txt").readlines()
y = [x.strip().split(":") for x in accounts]
for account in y:
print ("Trying with: %s:%s" % (account[0], account[1]))
the file accounts.txt is structred like this:
[email protected]:test1
[email protected]:test2
[email protected]:test3
How can i add to the print "Trying with... bla bla" the current line of the account? An output like:
Trying with: [email protected]:test1 @1
Trying with: [email protected]:test1 @2
Trying with: [email protected]:test1 @3