Last active
August 3, 2021 18:36
-
-
Save benastahl/e0b2d810973a34e5498b34d7f563c641 to your computer and use it in GitHub Desktop.
This file contains 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 sys | |
if sys.platform == "darwin": | |
# OS X | |
file_dividers = "/" | |
clear_method = "clear" | |
chromedriver_file = "chromedriver_mac" | |
elif sys.platform == "win32": | |
# Windows | |
windows = os.getenv("HOMEDRIVE") | |
clear_method = "cls" | |
chromedriver_file = "chromedriver.exe" | |
file_dividers = "\\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment