AnsweredAssumed Answered

from os.path import expanduser

Question asked by jplay on Jun 17, 2014
Latest reply on Jun 17, 2014 by jplay
I am trying to identify the current user folder as part of a larger process. I am using the code

from os.path import expanduser HOME = expanduser("~")

If I run the script in the foreground the result is:
print HOME 'C:\Users\jlay'

However if I enable background processing the result is
print HOME 'H:\'

Can someone tell me why that is? And how to correct it?