This is handy for a couple of reasons:
- When you look at these files in 6 months time, you will know in what order you should run them
- When you are running the files, they will autocomplete very easily at the command line (Windows or Linux), e.g. you type "python 0", then hit TAB, and the name of the file will autocomplete. No need to think about the name of the file, (is it calcresults.py or analyseresults.py?) or have the problem of several files which start with the same letter.
So, what happens when you need to insert something between step 3 and 4? 31, 3.1, 3a maybe?
ReplyDeleteI suggest just use a wrapper script, and just indicate in your LaTeX which script you ran for that table or figure you are looking at.
And, even more importantly: use a version control system! It basically does what a sane lab note book does: keep track of everything you do, and does the sign off by your boss, which is actually now a Git/SVN service.
Adding something between step 3 and 4? Just do it, commit it. All in your favorite scripting hacking style, without X_ semantics needed.