str1 = "myname" str2 = "112233" path = "D:\folder\str1\str2"
path = "D:\folder\" + str1 + "\" + str2
path = os.path.join("D:\folder", str1, str2)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)