From a003a873b22b2f4fdcf20d70926d16159257e57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EA=2E=20Hern=C3=A1ndez?= <105027465+jesusalberto18@users.noreply.github.com> Date: Sun, 21 Aug 2022 17:04:00 -0400 Subject: [PATCH 1/2] automated_calendar This script is an agenda for lazy people, I mean, for saving time :joy::joy::joy:. Just run it and inside your selected folder you will find 12 other folders named after each month of the year, so you can archive your documents in a more organized way. --- automated_calendar/automated_calendar.py | 20 ++++++++++++++++++++ automated_calendar/requirements.txt | 1 + 2 files changed, 21 insertions(+) create mode 100644 automated_calendar/automated_calendar.py create mode 100644 automated_calendar/requirements.txt diff --git a/automated_calendar/automated_calendar.py b/automated_calendar/automated_calendar.py new file mode 100644 index 0000000..5d64ac0 --- /dev/null +++ b/automated_calendar/automated_calendar.py @@ -0,0 +1,20 @@ +''' +THIS CODE CREATES FOLDERS FOR EACH FY OF OUR COMPANY, WHERE WE COULD +FIND 12 OTHER FOLDERS NAMED AFTER EACH MONTH OF THE YEAR. +''' + +#Import modules and libraries we'll use +from pathlib import Path + +#Create the folders where we'll store our automated calendar +months =['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] + +for i,month in enumerate(months): + Path(f'Year1/{i+1}.{month}').mkdir(parents=True,exist_ok=True) + Path(f'Year2/{i+1}.{month}').mkdir(parents=True,exist_ok=True) + Path(f'Year3/{i+1}.{month}').mkdir(parents=True,exist_ok=True) + Path(f'Year4/{i+1}.{month}').mkdir(parents=True,exist_ok=True) + + + diff --git a/automated_calendar/requirements.txt b/automated_calendar/requirements.txt new file mode 100644 index 0000000..a669199 --- /dev/null +++ b/automated_calendar/requirements.txt @@ -0,0 +1 @@ +pkg-resources==0.0.0 From d8469bef9f06642b0fb3116ade1858acae2f1a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EA=2E=20Hern=C3=A1ndez?= <105027465+jesusalberto18@users.noreply.github.com> Date: Sun, 21 Aug 2022 17:11:03 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c3a3716..f36c269 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,7 @@ So far, the following projects have been integrated to this repo: |[Face Recognition](https://github.com/hastagAB/Awesome-Python-Scripts/tree/master/image_recognition)|[LOKESH KHURANA](https://github.com/theluvvkhurana)| |[File Encrypt Decrypt](file-encrypt-decrypt)|[Aditya Arakeri](https://github.com/adityaarakeri)| | [Address locator](Location_Of_Adress) | [Chris]() | +| [Automated calendar](automated_calendar) | [J.A. Hernández](https://github.com/jesusalberto18) | | [Automated emails](automated_email) | [Suvigya](https://github.com/SuvigyaJain1) | |[AI chatbot](Artificial-intelligence_bot) |[umar abdullahi](https://github.com/umarbrowser) | |[Asymmetric Encryption](asymmetric_cryptography) |[victor matheus](https://github.com/victormatheusc) |