Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19346 > unrolled thread
| Started by | Andrea Crotti <andrea.crotti.0@gmail.com> |
|---|---|
| First post | 2012-01-24 14:56 +0000 |
| Last post | 2012-01-24 14:56 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
windows and home path Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-01-24 14:56 +0000
| From | Andrea Crotti <andrea.crotti.0@gmail.com> |
|---|---|
| Date | 2012-01-24 14:56 +0000 |
| Subject | windows 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
Back to top | Article view | comp.lang.python
csiph-web