From c6bbdfa1df2f2b3e719685594672b4102fbc6dda Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Sat, 2 Dec 2023 02:07:01 +0100 Subject: [PATCH] Create README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- glob/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 glob/README.md diff --git a/glob/README.md b/glob/README.md new file mode 100644 index 0000000..8f12b5e --- /dev/null +++ b/glob/README.md @@ -0,0 +1,18 @@ +# glob -- Finding files in a directory + +## Goal +We want to deal with many files in a directory. What is an easy way to get the filename in a directory? + +Questions to [David Rotermund](mailto:davrot@uni-bremen.de) + +## Creating test files + +```python +from pathlib import Path + +Path("Testfile_001.mat").touch() +Path("Testfile_002.mat").touch() +Path("Testfile_010.mat").touch() +Path("Testfile_003.mat").touch() +``` +