mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2025-01-31 05:33:41 +00:00
Merge pull request #260 from jesusalberto18/master
Add automated_calendar.
This commit is contained in:
commit
eb55189150
|
@ -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)|
|
|[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)|
|
|[File Encrypt Decrypt](file-encrypt-decrypt)|[Aditya Arakeri](https://github.com/adityaarakeri)|
|
||||||
| [Address locator](Location_Of_Adress) | [Chris]() |
|
| [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) |
|
| [Automated emails](automated_email) | [Suvigya](https://github.com/SuvigyaJain1) |
|
||||||
|[AI chatbot](Artificial-intelligence_bot) |[umar abdullahi](https://github.com/umarbrowser) |
|
|[AI chatbot](Artificial-intelligence_bot) |[umar abdullahi](https://github.com/umarbrowser) |
|
||||||
|[Asymmetric Encryption](asymmetric_cryptography) |[victor matheus](https://github.com/victormatheusc) |
|
|[Asymmetric Encryption](asymmetric_cryptography) |[victor matheus](https://github.com/victormatheusc) |
|
||||||
|
|
20
automated_calendar/automated_calendar.py
Normal file
20
automated_calendar/automated_calendar.py
Normal file
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
1
automated_calendar/requirements.txt
Normal file
1
automated_calendar/requirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pkg-resources==0.0.0
|
Loading…
Reference in New Issue
Block a user