Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Get Current Directory

>>> import os

>>> os.getcwd()
'C:Program FilesPyScripter'

>>> os.getcwdb()
b'C:Program FilesPyScripter'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python #Get #Current #Directory
ADD COMMENT
Topic
Name
5+5 =