r/learnpython • • May 31 '19

My first Python project: command line application that copies all files with given extension from a directory and its subfolders to another directory showing progress bar and remaining files counter.

This project was inspired by the task from Chapter 9 of Automate the Boring Stuff but I tried to push it a little bit further by adding a possibility of preservation source folder structure, log creation, progress bar, remaining files counter and command line interface.

Here is my code on GitHub.

I am new to programming and GitHub, so any feedback either on the code itself or design of README.md and so on is highly appreciated!

340 Upvotes

47 comments sorted by

View all comments

5

u/CBSmitty2010 May 31 '19

Hey that's neat! I like how you handled the progress bar.

Just one thing from my beginner perspective that I saw that you didn't use that maybe you want to try using. Take a look at pathlib (2 in this case but import pathlib works), very handy for handling paths :)

2

u/pltnk May 31 '19

Thanks for the advice! I am not familiar with pathlib yet, will certainly look into it :)