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


Groups > comp.lang.python > #19346 > unrolled thread

windows and home path

Started byAndrea Crotti <andrea.crotti.0@gmail.com>
First post2012-01-24 14:56 +0000
Last post2012-01-24 14:56 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#19346 — windows and home path

FromAndrea Crotti <andrea.crotti.0@gmail.com>
Date2012-01-24 14:56 +0000
Subjectwindows and home path
Message-ID<mailman.5028.1327416986.27778.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web