a guest Oct 23rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #Set the directory where the file is available
- #infile is the data and outfile contains the output file name's
- infile = "coma_file.txt"
- outfile = "tab_file.txt"
- with open(infile, "r") as infile1:
- with open(outfile, "w") as outfile1:
- for line in infile1:
- fields = line.strip().split(",")
RAW Paste Data