Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19346

windows and home path

Date 2012-01-24 14:56 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
Subject windows and home path
Newsgroups comp.lang.python
Message-ID <mailman.5028.1327416986.27778.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

windows and home path Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-01-24 14:56 +0000

csiph-web