<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Make folders called followers and following. Careful, only run once!
Step1:  Make new, throwaway Twitter account with throwaway email address from here and throwaway phone number here (UK numbers work typically)
<ASSISTANT_TASK:>
Python Code:
!mkdir followers
!mkdir following
Explanation: Make folders called followers and following. Careful, only run once!
End of explanation
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
#make sure the path is correct for your chromedriver. can place next to it
# driver = webdriver.Chrome('./chromedriver.exe')
driver = webdriver.Chrome('C:/Program Files/chromedriver/chromedriver.exe')
#opens Chrome, maximize window
driver.get("https://www.twitter.com");
driver.maximize_window()
# sign in
users=['AraKovacs',
'AndreaBocskor',
'katka_cseh',
'AndorDeli',
'dajcstomi',
'DobrevKlara',
'donath_anna',
'GyongyosiMarton',
'GyoriEniko',
'BalazsHidveghi',
'HolvenyiGyorgy',
'JarokaLivia',
'adamkosamep',
'drcsabamolnar',
'sandor_ronai',
'toth_edina',
'trocsanyi',
'istvan_ujhelyi',
'vinczelorant',
'IuliuWinkler'] #ide tedd be as osszes user IDt
# for user in users[1:]:
#     print(user)
#     for path in ['followers','following']:
#         url='https://twitter.com/'+user+'/'+path
#         driver.get(url)
#         time.sleep(2) #szunet 2 masodpercig
#         actions = ActionChains(driver)
#         #press PageDown key on the page 50 times - adjust as necessary
#         for i in range(300):
#             time.sleep(0.3+np.random.uniform(5)/10.0) #szunet random ideig scrollok kozott
#             actions.send_keys(Keys.PAGE_DOWN)
#             actions.perform()   
#         #copy everything in page
#         time.sleep(2)
#         actions.key_down(Keys.CONTROL).send_keys("a").key_up(Keys.CONTROL).perform();
#         time.sleep(2)
#         actions.key_down(Keys.CONTROL).send_keys("c").key_up(Keys.CONTROL).perform();
#         #get data from clipboard
#         win32clipboard.OpenClipboard()
#         data = win32clipboard.GetClipboardData()
#         win32clipboard.CloseClipboard()
#         #save to file
#         open(path+'/'+user+'.txt','wb').write(data.encode('utf8'))
#         #repeat for following
#         time.sleep(3)
        
#     #repeat for next user
#     time.sleep(3)
for user in users[2:]:
    print(user)
    for path in ['followers','following']:
        names=[]
        ids=[]
        descs=[]
        url='https://twitter.com/'+user+'/'+path
        driver.get(url)
        time.sleep(2) #szunet 2 masodpercig
        actions = ActionChains(driver)
        #press PageDown key on the page XX times - adjust as necessary
        for i in range(300):
            try:
                time.sleep(0.3+np.random.uniform(5)/10.0) #szunet random ideig scrollok kozott
                actions.send_keys(Keys.PAGE_DOWN)
                actions.perform()   
                #copy everything in page
                time.sleep(2)
                soup=BeautifulSoup(driver.page_source, 'html.parser')
                links=[i for i in  
                     soup.find('div',{'aria-label':'Timeline: '+path.capitalize()}).find('div').findAll('div',{'class':'css-1dbjc4n r-1iusvr4 r-16y2uox'})]
                names+=[i.findChildren("div" , recursive=False)[0].findChildren("span")[1].text for i in links]
                ids+=[i.findChildren("div" , recursive=False)[0].findChildren("span")[2].text for i in links]
                desc=[]
                for i in links:
                    try:
                        desc.append(i.findChildren("div" , recursive=False)[1].text)
                    except:
                        desc.append('')
                descs+=desc
            except:
                print(user,i)
        #compile df
        df=pd.DataFrame([names,ids,descs]).T.drop_duplicates()
        df.columns=['name','id','desc']
        #save to file
        df.to_csv(path+'/'+user+'.csv',encoding='utf8')
        #repeat for following
        time.sleep(3)
        
    #repeat for next user
    time.sleep(3)
Explanation: Make new, throwaway Twitter account with throwaway email address from here and throwaway phone number here (UK numbers work typically)
End of explanation
<END_TASK>