The application looking for ULP.txt will typically expect it in:
To help me generate the exact, completed report for you, could you please reply with matches your file, or paste a small snippet of the text inside your ULP.txt file? Solved: BOM - remove part - Forums, Autodesk
import json config = {} with open("ULP.txt") as f: for line in f: line = line.split("#")[0].strip() if "=" in line: k, v = line.split("=", 1) config[k.strip()] = v.strip() with open("config.json", "w") as out: json.dump(config, out, indent=2)