I want to write a Python script that automatically logs me into a website, using Selenium. But I don't want to store the password in a plain text .py file. What are my options? Here's the code I have so far:
from selenium import webdriver
import time
driver = webdriver.Firefox()
website = driver.get("https://reddit.com")
uname = driver.find_element_by_name("user")
pword = driver.find_element_by_name("passwd")
button = driver.find_element_by_class_name("btn")
time.sleep(0.5)
uname.send_keys("xDinomode")
pword.send_keys("")
time.sleep(0.3)
button.click()
time.sleep(60)