Created
June 21, 2022 06:21
-
-
Save ganigithub/1264fd318cf27d1f3e2677bd29935985 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import yaml | |
from yaml.loader import SafeLoaderwith | |
open('file.yaml') as f: | |
login = yaml.load(f, Loader=SafeLoader) | |
username = login['user_id'] | |
password = login['password'] | |
totp = login['totp'] | |
webdriver_path = login['webdriver_path'] | |
url = login['url'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment