Skip to content

Instantly share code, notes, and snippets.

@sebington
sebington / file_frequency.py
Last active March 27, 2025 15:51
Mon premier script en Python !
# This script is destined to be executed in a directory containing a series of files with a 'yyyymmdd' naming pattern
# e.g. "20240621_212441.wav". The script will parse the date in each filename and plot the number of files per year-month.
import os
import fnmatch
import matplotlib.pyplot as plt
# create empty list
list1=[]