windows and home path

A

Andrea Crotti

Window never stops to surprise me, I've been banging my head since
yesterday and only
now I now what is the problem.

So suppose I have something like

from os import path
print path.expanduser('~')

If I run it from cmd.exe I get /Users/user, doing the same in an emacs
eshell buffer I get
/Users/user/AppData/Roaming.

What sense does it make??
Is there a way to get always the same variable from python somehow?

Thanks,
Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top