Перейти к содержимому

How To Move Files with EASE in Python

CodingNomads

0:00 / 0:00

How To Move Files with EASE in Python

1 325 просмотров · 5 л. назад
CodingNomads
1,42 тыс. подписчиков
1 325 просмотров · 5 л. назад
Are there yet again a ton of screenshots on your desktop? Learn to build a script in Python to move files from one location to another. Learn the basics of Python programming through a project-based approach! You'll see how knowing a bit of programming can make your daily life more fun and less repetitive. While building out a script in Python to move files, you'll also get exposed to many important programming concepts such as variables, data types, control flow, libraries, objects, and methods. Concepts Covered: Standard library and importing code Working with paths Objects and methods Iteration, `for` loop Lists Strings Interacting with your file system Object attributes Chapters: 0:00 Intro 6:44 Starting the project in VS Code 10:45 Outlining your project 14:00 Python’s standard library 18:53 Executing your code 21:23 Locating the desktop 25:30 Path object and join path methods 29:44 Why the interpreter doesn’t change anything 33:09 Assigning outcomes to variables 38:37 Identifying the screenshots 44:13 Writing your for loops 50:34 Filtering your files 53:57 Using various methods to search strings 1:01:32 Creating a folder for the screenshots 1:08:05 Moving the files with a for loop 1:14:14 Testing out the code Resources: 👾 GitHub Repo: https://github.com/CodingNomads/pytho... 📺 Twitch for Future Trainings:   / codingnomads   🎓 Start Learning Python for Free: https://platform.codingnomads.co/learn/ 🧭 Website: https://codingnomads.co/