Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('tercerOutput.csv','r') as tercerOutput:
- fileone = tercerOutput.readlines()
- with open(tabla,'w', newline= "") as tabla:
- writer = csv.writer(tabla)
- for line in fileone:
- if (line.find("(") != -1):
- line.strip( " (" )
- print(line)
- tabla.write(line)
- else:
- tabla.write(line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement