🐍→🎓 Processing files 101

🐍→🎓 Processing files 101

Jun 05, 2024

As researchers, we typically collect lots of data files. Sometimes though, we make a poor file-naming decision... Re-naming 1000 files manually is out of the question...

In this set of three videos, I show you how to write simple Python code that renames lots of files at once! 📂 This video series introduces you to regular expressions, which are super useful for processing text-like data. But don't worry, I explain everything step-by-step!

In Part 1, we learn how to append a phrase to a file name:

https://youtu.be/3Y2w_7N8CcI

In Part 2, we learn how to remove a phrase from a file name:

https://youtu.be/cTBpI1QQjLA

In Part 3, I show you a super simple way to turn a file name, or its portion, to lower-case or upper-case:

https://youtu.be/OAqH6gzgi6Y

Python for academics 🐍→🎓

Check out my YouTube series Python for academics 🐍→🎓, where I teach you you various ways in which you can use Python to automate your everyday academic life!

📹 Check out the full playlist here.

🐍 All code that we develop together in this series can be accessed through GitHub:

https://github.com/kamilazdybal/python-for-academics

Stay tuned for more videos! 💻

Подобається цей допис?

Купити для Kamila Zdybal croissant

Більше від Kamila Zdybal