Answers for "print folder python"

8

get directory of file python

import os 
dir_path = os.path.dirname(os.path.realpath(__file__))
Posted by: Guest on April-03-2020
5

get diroctary in python

import os
cwd = os.getcwd()
print(cwd)
Posted by: Guest on June-14-2020

Code answers related to "print folder python"

Python Answers by Framework

Browse Popular Code Answers by Language