Answers for "Python how to change directory using a variable"

1

change directory in python os

import os

path = "C:UsersYourDirectory"

os.chdir(path)
Posted by: Guest on March-16-2021

Code answers related to "Python how to change directory using a variable"

Python Answers by Framework

Browse Popular Code Answers by Language