Hi Jose,
Thank you again.
I followed the steps that you suggested but also in this case it doesn't work.
I think that the problem is not related to Python, since even if I try to create a normal text file and name it with a long name (160 characters) the file name is automatically trimmed.
The same happens when I try to rename existing files, for example pictures