From e3c3cdf5e5c097314ca9df41c42aeb126a6808a6 Mon Sep 17 00:00:00 2001 From: Stephen Kerr Date: Mon, 19 Jun 2023 15:54:33 +0200 Subject: [PATCH] week 1 --- week5/imagecopyist.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 week5/imagecopyist.py diff --git a/week5/imagecopyist.py b/week5/imagecopyist.py new file mode 100644 index 0000000..1bea95d --- /dev/null +++ b/week5/imagecopyist.py @@ -0,0 +1,4 @@ +import os + +for number in range(100): + os.system("cp ./static/img/" + f"{number:02d}" + ".png" + " ./static/img/" + f"{number:02d}" + "/0" + f"{number:02d}" + ".png") \ No newline at end of file