This file contains 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
""" | |
Générateur de jours ouvrés français en python | |
""" | |
def easter_date(year): | |
""" | |
Calcule la date du jour de Pâques d'une année donnée | |
Voir https://github.com/dateutil/dateutil/blob/master/dateutil/easter.py | |
:return: datetime |
This file contains 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
import os | |
import re | |
import datetime | |
import piexif | |
filepath = os.path.abspath(".") | |
# Find files with `screenshot` in the name. | |
files = [f for f in os.listdir(filepath) if "screenshot" in f and f.endswith(".jpg")] | |
print(files) |