From: Edward Delaporte Date: Sun, 28 Jun 2026 03:52:45 +0000 (-0500) Subject: WIP csv script X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/745e9e99b48808aba45bb6adb65363b28effd62d?hp=84406fe012a79be3a4250365b167c1ff5c17b0ef WIP csv script --- diff --git a/bin/clerk b/bin/clerk new file mode 100755 index 0000000..0fa3bb4 --- /dev/null +++ b/bin/clerk @@ -0,0 +1,20 @@ +#!/usr/bin/python + +import os + +DATA_DIR=os.path.expanduser('~/Journal/2026/data') + +data_files = {} +os.path.expanduser('~/Journal/2026/data') +for root, _, files in os.walk(DATA_DIR): + for file in files: + name, ext = os.path.splitext(file) + if ext == '.csv': + data_files[name] = os.path.join(root, file) + +print(data_files.keys()) +choice = input() + +file = data_files[choice] + +print(file)