Python 2.x vs 3.x Speed

后端 未结 5 1598
礼貌的吻别
礼貌的吻别 2021-02-06 22:32

I\'m a PhD student and use Python to write the code I use for my research. My workflow often consists of making a small change to the code, running the program, seeing whether

5条回答
  •  醉梦人生
    2021-02-06 23:11

    I have phylogenetics analysis that takes a long time to run, and uses about a half-dozen python scripts as well as other bioinformatics software (muscle, clustal, blast, even R!). I use temp files to save intermediate results and a master script with the subprocess module to glue all the pieces together. It's easy to change the master to run only the modified parts that I want to test. But, if the changes are being made to early steps, and you only know how good it is at the end of the whole process, then this strategy wouldn't help much.

提交回复
热议问题