new_contents: from selenium import webdriver
  from getpass import getpass
  from time import sleep
  
  usr = input('Enter your username or email : ')
  pwd = getpass('Enter your password : ')
  msg = input('Enter your tweet : ')
  
  driver = webdriver.Chrome()
  driver.get('https://twitter.com/login')
  
  usr_box = driver.find_element_by_class_name('js-username-field')
  usr_box.send_keys(usr)
  sleep(3)
  
  pwd_box = driver.find_element_by_class_name('js-password-field')
  pwd_box.send_keys(pwd)
  sleep(3)
  
  login_button = driver.find_element_by_css_selector('button.submit.EdgeButton.EdgeButton--primary.EdgeButtom--medium')
  login_button.submit()
  sleep(3)
  
  text_box = driver.find_element_by_id('tweet-box-home-timeline')
  text_box.send_keys(msg)
  sleep(3)
  
  tweet_button = driver.find_element_by_css_selector('button.tweet-action.EdgeButton.EdgeButton--primary.js-tweet-btn')
  tweet_button.click()
  
  
  
  
  
  
  
  
subject: Create tweet_basic.py