Ok, thank you for the information.
I didn't even know what was String concatenation until you mentioned it and I researched! I am not a programmer and my work place does not allow me to get training, so I am learning TestComplete and Python as I go.
I checked the SmartBear help and from what I understand, it is doing a concatenation with a variable. Is it OK because it's used in a log only, or is it an older practice that is still left in the document?
Not looking to be negative towards the help file but just trying to understand since I am pretty new to all of this.
def FileVersionInfoSample():
FileName = Sys.OSInfo.WindowsDirectory + "\\notepad.exe"
VerInfo = aqFileSystem.GetFileInfo(FileName).VersionInfo
Log.Message("File version: " + str(VerInfo.FileMajorVersion) + "." + str(VerInfo.FileMinorVersion) + "." + str(VerInfo.FileBuildVersion) + "." + str(VerInfo.FileRevisionVersion))
Log.Message("Description: " + str(VerInfo.FileDescription[0]))
Log.Message("Product: " + str(VerInfo.ProductName[0]))
Log.Message("Company: " + str(VerInfo.CompanyName[0]))