devxlogo

December 24, 2019

Join Paths in Python

Follow this example to see how to join paths in Python. root= “/root”str = os.path.join(root, “Y2019”, “2019.txt”)