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


Groups > comp.lang.python > #19346

windows and home path

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andrea.crotti.0@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.084
X-Spam-Evidence '*H*': 0.84; '*S*': 0.00; 'suppose': 0.05; 'python': 0.08; 'subject:windows': 0.09; 'thanks,': 0.18; 'stops': 0.23; 'import': 0.27; 'variable': 0.27; 'print': 0.29; "i've": 0.31; 'does': 0.32; 'message-id:@gmail.com': 0.33; 'header:User- Agent:1': 0.33; 'to:addr:python-list': 0.33; 'there': 0.33; 'received:209.85.212': 0.34; 'yesterday': 0.34; 'something': 0.35; 'window': 0.35; 'problem.': 0.36; 'run': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'sense': 0.39; 'received:209': 0.39; 'doing': 0.39; 'to:addr:python.org': 0.40; 'subject:home': 0.73; 'andrea': 0.84; 'surprise': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=FJLDs+KPMw90Zcblz7TGzrgBT/7WqmW53jEB2T0ThAM=; b=VfgINIAgfrgfKdyj9M3FDL9oki1YEtetbQ6BndNPkza8DXVMwsMrYZT4ScnKYfuZlP zvwO4cmpa7fds6QkbHIq3LSwaaRaf1qaRWWQ22glqvFaoS/jrwx3KNNHjEqa1Ztkv0IO 0OiFa2oisTZVvgY++kM/5ZN8WeQoD6oXCzu78=
Date Tue, 24 Jan 2012 14:56:21 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1
MIME-Version 1.0
To python-list@python.org
Subject windows and home path
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5028.1327416986.27778.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327416986 news.xs4all.nl 6930 [2001:888:2000:d::a6]:60256
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19346

Show key headers only | 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