ROOT  6.06/09
Reference Guide
makeTest.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 #
3 # scripts to replace a string in a set of a files
4 #
5 
6 import sys, re, os
7 
8 
9 
10 
11 with open("out.txt", "wt") as out:
12  for line in open("arithmetics.cpp"):
13  out.write(line.replace('main', 'arithmetics'))