-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
25 lines (21 loc) · 748 Bytes
/
app.py
File metadata and controls
25 lines (21 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import os
import datetime
print("\x1B[9m \x1B[40m \x1B[32m")
os.system("git remote remove upstream")
def fileing(i):
with open("README.md","w") as file:
file.write("For Information : [HERE](https://github.com/LALA09-erha)\n {} \n".format(i))
file.close()
def load():
start_date = datetime.date(2021, 1, 1)
end_date = datetime.date(2023, 12, 1)
delta = datetime.timedelta(days=1)
while (start_date <= end_date):
start_date +=delta
mydate = start_date.strftime('%a %d %b %Y')
print(mydate)
fileing(mydate)
os.system("git add .")
os.system("git commit --date=\"{} 10:00 2022 +0500\" -m hack-git-commit".format(mydate))
load()
os.system("git push -f origin master")