>>> import os >>> os.getcwd() 'C:Program FilesPyScripter' >>> os.getcwdb() b'C:Program FilesPyScripter'