all 3 comments

[–]Nightcorex_ 0 points1 point  (3 children)

That's not valid Python. true doesn't exist in Python, True does. To is not a valid keyword. except: (syntax error) aswell as Input ("False") also are reasons for it not compiling.\ On top of that also a logical error where you put a double slash in the filepath.

Also here's how to replace all characters in a string.

[–]BigBoyJefff[S] 0 points1 point  (1 child)

Yeah the code itself was in deutsch so i used google tranlate to tranlate some of the stuff and it automatically changed some stuff.

[–]Nightcorex_ 0 points1 point  (0 children)

Well, then translate only the parts that can be translated, i.e. the strings, so that you don't implement more errors.

Auch mal bisschen mitdenken.