JohannesWiesner / demetrius

A repository for finding and copying files while preserving their folder structure
MIT License
2 stars 0 forks source link

Separate verbosity from function logic in _copy_files #14

Open JohannesWiesner opened 10 months ago

JohannesWiesner commented 10 months ago

Would be nice if _copy_files wouldn't have anything to do with verbosity just like it's currently done with _find_files. Asked question here:

https://stackoverflow.com/questions/77730834/separate-inner-logic-of-function-from-displaying-user-information-using-tqdm

JohannesWiesner commented 10 months ago

Maybe one could use the postfix argument of tqdm?

https://github.com/tqdm/tqdm?tab=readme-ov-file#description-and-additional-stats

Also note that tqdm has pandas integration:

https://github.com/tqdm/tqdm?tab=readme-ov-file#pandas-integration

JohannesWiesner commented 10 months ago

Opened an issue:

https://github.com/tqdm/tqdm/issues/1545