Changes between Version 40 and Version 41 of u/madams


Ignore:
Timestamp:
06/02/15 14:16:55 (10 years ago)
Author:
madams
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/madams

    v40 v41  
    3939= Scripts =
    4040
     41[[CollapsibleStart(Name Changer (python))]]
     42{{{
     43import os
     44import sys
     45
     46start = int(sys.argv[1])
     47end = int(sys.argv[2])
     48
     49for i in range(start,end+1):
     50    inpfig="Mass_along_1_00"+str(i)+".bov"
     51    outfig="mass1_along_1_00"+str(i)+".bov"
     52    sfig = "mv %s %s" %(inpfig,outfig)
     53    os.system(sfig)
     54}}}
     55[[CollapsibleEnd]]
    4156
    4257[[CollapsibleStart(.okc to .csv Converter (python))]]