I have a very strange issue with File.AppendString.
I have a very simple python script to write a text in a file:
but it returns me
file = "C:\Users\FredWin\Documents\ARC\Scripts\ten.txt"
(trad:"Illegal characters in the path").
Caractères non conformes dans le chemin d'accès.
What is very strange is that some really simple file names are problematic and others are not.
For example "nine.txt" or "ten.txt" return the error, but not "eight.txt" or "eleven.txt".
Another example: if I use files such as "10.txt", "20.txt" or "30.txt", I have the error, but if I use "40.txt", "50.txt" and above, I have not.
I am really puzzled and I fail to see any logic in it.
Any idea what happens?
Edit: it seems to be specific to Python, I have not the same issue with EZ-scripts...