filmov
tv
Automate Your Life With Python (File Management Step By Step Example)
Показать описание
Computers are supposed to make our lives easier but to be able to do that you need to know how to code. In this video, I cover one of the scripts I use to automate my Dropbox photos by year and month.
I also cover my thought process while writing this script so you know what to think about when you come to write your own scripts.
I am using Python to do this but you could do this with any language if you are more comfortable with another one. Python is particularly useful as there are a lot of libraries for it so you can do pretty much anything with it.
This is quite a long video, so feel free to use the timestamps below to skip to the bits you are interested in.
⏳ CHAPTERS
00:00 Introduction
00:43 What we are going to build
01:07 Thinking through what to build
03:14 The script in action
03:52 Writing the script
07:29 Using Regex to get the year and month
09:59 Getting the created date from the file
15:00 Creating the folder
17:16 Moving the file
18:41 Edge cases
19:44 Running the script automatically in the background
20:33 Useful book
🔗 SOCIAL LINKS
🧑💻 WHO AM I
I’m Alex, a Software Developer and YouTube working in the UK. I make videos about software development to help developers with the skills they need to be senior developers.
#coding #programming #developer
I also cover my thought process while writing this script so you know what to think about when you come to write your own scripts.
I am using Python to do this but you could do this with any language if you are more comfortable with another one. Python is particularly useful as there are a lot of libraries for it so you can do pretty much anything with it.
This is quite a long video, so feel free to use the timestamps below to skip to the bits you are interested in.
⏳ CHAPTERS
00:00 Introduction
00:43 What we are going to build
01:07 Thinking through what to build
03:14 The script in action
03:52 Writing the script
07:29 Using Regex to get the year and month
09:59 Getting the created date from the file
15:00 Creating the folder
17:16 Moving the file
18:41 Edge cases
19:44 Running the script automatically in the background
20:33 Useful book
🔗 SOCIAL LINKS
🧑💻 WHO AM I
I’m Alex, a Software Developer and YouTube working in the UK. I make videos about software development to help developers with the skills they need to be senior developers.
#coding #programming #developer
Комментарии