'os' module Flashcards
1
Q
os.getcwd()
A
will return current working directory, not including the files’ own directory
2
Q
os.path.abspath(__file__)
A
return the absolute path for the file, including the file name
3
Q
os.path.dirname(__file__)
A
will return directory name including the current folder