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
# directory have multiply txt file will combine content into one file | |
import glob | |
read_files = glob.glob("*.txt") | |
with open("result.txt", "wb") as outfile: | |
for f in read_files: | |
with open(f, "rb") as infile: | |
outfile.write(infile.read()) |
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
from selenium import webdriver | |
from time import sleep | |
from getpass import getpass | |
from datetime import datetime | |
option = webdriver.ChromeOptions() | |
option.add_argument('--lang=en-US') | |
option.add_argument('--window-size=1200,1000') | |
line = "#"*15 | |
#time and datetime | |
now = datetime.now() |