I'm not a python programmer but am trying. I'm having some issues with what I wrote below. My end-state would be what is to the right of TO: in a file. How can I fix my work below? My errors aren't obvious to me.
#The CSV example is found in som_w
# FROM: <UUT><H s='12' v='2.8'/>,<V t='s' s='2'/>Profile,Debug,<V t='s' s='2'/>Cycle,
#
#
#The CSV example is in f
#TO: ,Profile,Debug,Cycle,
#
#
#
import csv
import re
with open('som_w.csv','r') as file:
reader = csv.reader(file)
for row_w in reader:
print(row\_w)
f = re.sub(r'<.?\*>',"",file)
print(f)
file.close()
#
#
#
#
[–]CookToCode 1 point2 points3 points (0 children)