13
I was writing the same three lines of code for every new project
For about two years, I'd start every Python script by manually typing out the same setup lines for reading files. A friend saw me do it last month and just said, 'You know you can make a template file, right?'. How did I miss such a basic time-saver for so long?
2 comments
Log in to join the discussion
Log In2 Comments
ben4861mo ago
That template idea is a game changer. You can even set it up in your code editor to auto fill when you start a new file. I went a step further and made a few different starter files for data cleaning versus making plots. Saves me from copying old code and forgetting to change the file paths.
1
ben4861mo ago
Remembered my old setup that auto-filled the wrong client name for weeks lol.
1