Code: Select all
"""QA12345""","""Some Other Text"""
< /code>
Was ich brauche ist: < /p>
"QA12345","Some Other Text"
< /code>
Dieser Python -Snippet löscht die Datei nach Abschluss aus. < /p>
with fileinput.FileInput(input_file, inplace=True) as f:
next(f)
for line in f:
line.replace("""""", '"')
< /code>
funktioniert nicht mit < /p>
line.replace('"""', '"')
Ich habe auch versucht, die Eingabewerte so anzupassen, dass sie '"ein anderer Text"' und Variationen (Variationen (
Code: Select all
"""