Possible duplicate of [Python's many ways of string formatting — are the older ones (going to be) deprecated?](https://stackoverflow.com/questions/13451989/pythons-many-ways-of-string-formatting-are-the-older-ones-going-to-be-depre)
– manvetiAug 22 '19 at 23:35
1 Answers1
0
I solved it in this way
us = getpass.getuser()
path = r"C:\Users\%s\Desktop\Utenti" %(us)