Hard coding is a bad practice for any production-level project. In this video, I have explained how you can avoid hard-coding in python projects and use configparser library to maintain a separate config files for python projects, and make python projects cleaner.