Uploaded January 2021 | Updated September 2026, 2 weeks ago
Python automation is one of the most demanded trends in programming. Here I live coding real Python application which automatically groups your images into folders based on timestamp. For example, if you have a lot of images imported from your camera or mobile device, you probably want to save your time to group these images by day, month, or year. With this coding session I demonstrate how to build this kind of Python application which is dedicated to processes automation.
We will not build a new well working application from scratch, but we will polish the code in order to get readable and structured Python code that you can easily adopt to your personal needs.
The content of the video:
0:00 - Intro
0:15 - Step#0. Find all images in a given directory
3:59 - Step#1. Extract timestamps of images
7:03 - Step#2. Extract values of timestamps (year, month, day)
10:22 - Step#3. Make connections between timestamps and images with a single Pandas dataframe
12:06 - Step#4. Clean our Python code for a little bit.
14:03 - Step#5. Assign images to folders
18:17 - Step#6. Move image files to assigned folders
22:56 - Step#7. Delete the original folder
27:16 - Step#8. Make the code more systematically. Add __name__ and args parameters
30:48 - Step#9. Write summary to Excel file
32:36 - Step#10. Make a helper submodule for a project
36:16 - Test project on another computer with Windows OS
37:31 - Final word
For this Python Automation project we used 3 different Python libraries at all: os, argparse, and pandas.
For coding I used Sublime text Python code editor app. on Mac.
In this demonstrated I used f strings, you can learn more how to use this kind of print statement in this tutorial: youtu.be/7zzyfVBnZUY
I think this kind of Python project would be useful in your daily routine and even to add a mini project to your portfolio if you are beginners/experiences Python programmer. Anyway, I think it quite good Python automation idea, let's try it.
The full code of the project on Github: github.com/vb100/groupingimages
Please subscribe to this channel to get more!
More live coding sessions and live streams with Python will be published in this channel in future.
#pythonprogramming
#pythonautomation
#pythonprojects
Python automation is one of the most demanded trends in programming. Here I live coding real Python application which automatically groups your images into folders based on timestamp. For example, if you have a lot of images imported from your camera or mobile device, you probably want to save your time to group these images by day, month, or year. With this coding session I demonstrate how to build this kind of Python application which is dedicated to processes automation.
We will not build a new well working application from scratch, but we will polish the code in order to get readable and structured Python code that you can easily adopt to your personal needs.
The content of the video:
0:00 - Intro
0:15 - Step#0. Find all images in a given directory
3:59 - Step#1. Extract timestamps of images
7:03 - Step#2. Extract values of timestamps (year, month, day)
10:22 - Step#3. Make connections between timestamps and images with a single Pandas dataframe
12:06 - Step#4. Clean our Python code for a little bit.
14:03 - Step#5. Assign images to folders
18:17 - Step#6. Move image files to assigned folders
22:56 - Step#7. Delete the original folder
27:16 - Step#8. Make the code more systematically. Add __name__ and args parameters
30:48 - Step#9. Write summary to Excel file
32:36 - Step#10. Make a helper submodule for a project
36:16 - Test project on another computer with Windows OS
37:31 - Final word
For this Python Automation project we used 3 different Python libraries at all: os, argparse, and pandas.
For coding I used Sublime text Python code editor app. on Mac.
In this demonstrated I used f strings, you can learn more how to use this kind of print statement in this tutorial: youtu.be/7zzyfVBnZUY
I think this kind of Python project would be useful in your daily routine and even to add a mini project to your portfolio if you are beginners/experiences Python programmer. Anyway, I think it quite good Python automation idea, let's try it.
The full code of the project on Github: github.com/vb100/groupingimages
Please subscribe to this channel to get more!
More live coding sessions and live streams with Python will be published in this channel in future.
#pythonprogramming
#pythonautomation
#pythonprojects










