Python code to create folders and Phrase paperwork for analysis papers in biomedical sciences — multi function go together with solely two inputs
I’m a researcher with over seven years of expertise working in public well being and epidemiological analysis. Each time I’m about to start out a brand new analysis paper, I create a folder for this venture, inside a number of folders for every part of my work, and Phrase paperwork for the manuscript with particular headings. Having printed over 170 peer-review papers, I should have finished this course of over 200 occasions. I feel it’s about time to automatize this course of, and I’ll share with you ways to take action!
On the finish of the put up, you can see the total code. You solely want to repeat and paste it onto your favourite Python setting and hit run. The code will generate the perform create_project_structure. This perform will create a folder construction and Phrase paperwork prepared so that you can go straight to work in your analysis paper.
What does this perform do?
This perform will generate a folder in a specified path (base_path
), and this folder shall be named as you want (project_name
). This perform can even create two Phrase paperwork, one for the supplementary supplies and…