Use os.path.join rather than string concatenation.
Use Python functions rather than os.system().