Horje
get directory of a file linux Code Example
os get current directory
import os

#Get Current working Directory
currentDirectory = os.getcwd()

#Change the Current working Directory
os.chdir('/home/varun')
get directory of a file linux
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
Source: github.com




Shell

Related
linux kustomize install Code Example linux kustomize install Code Example
Shell:startup nsis Code Example Shell:startup nsis Code Example
fix pvc pending kubernetes Code Example fix pvc pending kubernetes Code Example
npm install different version Code Example npm install different version Code Example
remove all files in a directory linux Code Example remove all files in a directory linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9