Skip to content

Instantly share code, notes, and snippets.

View chenchih's full-sized avatar
:octocat:
Focusing

Chen-Chih Lee chenchih

:octocat:
Focusing
View GitHub Profile
# 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())
@chenchih
chenchih / follower_medium_2022.py
Last active April 3, 2022 07:34
instgram follower following
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()