(python)txt文件转化为csv文件
import numpy as np import pandas as pd import csvwith open(r'D:\Lessondocuments\python\github items\Python-GCNMK-main\Python-GCNMK-main\tedata.csv','w') as f: f_csv=csv.writer(f) for line in open(r'D:\Lessondocuments\python\github items\Python.





