I am using this toolkit: https://github.com/Fire30/Fifa14Client in python 2.7
from Fifa14Client import LoginManager
from Fifa14Client import WebAppFunctioner
import ConfigParser
from extra import EAHash
import threading
def do_main():
Config = ConfigParser.ConfigParser()
Config.read("accounts_example.ini")
for section in Config.sections():
email = Config.get(section, 'Email')
password = Config.get(section, 'Password')
secret_answer = Config.get(section, 'Secret')
security_hash = EAHash.EAHashingAlgorithm().EAHash(secret_answer)
platform = Config.get(section, 'Platform')
login = LoginManager.LoginManager(email,password,security_hash,platform)
login.login()
func = WebAppFunctioner.WebAppFunctioner(login)
What this part of my script does is access an ini file with the login details of accounts for a website and logs in. There are seperate sections, each with their own accounts in the ini file which look like this:
[AccountOne]
Email:xxx@xxx.com
Password:qwerty123
Secret:answer
Platform:xbox
[AccountTwo]
Email:xxx@xxx.com
Password:qwerty123
Secret:answer
Platform:xbox
And so on. What I want to do is assign a thread to each account so each of them has a separate thread
Sorry if I'm being a little unclear and thanks in advance