Answers for "os set directory"

19

get working directory python

import os
os.getcwd()
Posted by: Guest on May-23-2020
5

setwd python

os.chdir("/home/varun/temp")
Posted by: Guest on April-13-2020
0

how to change os path in python

os.chdir(path)
Posted by: Guest on July-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language