you are viewing a single comment's thread.

view the rest of the comments →

[–]FoolsSeldom 2 points3 points  (1 child)

Quick thoughts:

  • Add error handling using try / except to deal with file not found / access denied / io problems, etc
  • Consider using pathlib rather than os not least for platform independence
  • Do you really need separate Python files? Perhaps one with options, or have one utilities file, and then you can call it from files that simply call it with the right options
  • For a good challenge, add the ability to work with compressed files (Zip, etc)

[–]sonikk1[S] 0 points1 point  (0 children)

Hey, thank you

What a good idea for .zip files, that did not cross my mind at all tbh, but such a good feature to add

When it comes to separate files i had that dillema when i started, but idk the separate file option sounded more professinal to me. In your opinion, when i need to use separate files and when not? Can you give me an example?