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


Groups > comp.lang.python > #78920

python on Linux

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ikorot01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'linux,': 0.07; 'windows,': 0.09; 'i.e.,': 0.16; 'subject:python': 0.16; 'all,': 0.19; 'to:name:python-list@python.org': 0.22; 'expanded': 0.24; 'this:': 0.26; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'something': 0.35; 'received:google.com': 0.35; 'hi,': 0.36; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'you.': 0.62
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kvuDszwoOU+zxBnnjXMk+RBBlpVPMbCWCufX95YJZ0U=; b=c9/powQWYn9/8BUl4j9jTBFpIw4hvgyWlvkqYzKqyqjddSCfoAoJRSXpuwQwY4O+3j nGuYkSmw/akF7FU0gulMGCh/eCw9cfqz8UBw66+coJzvgs56fitlc/65nAv7ija5tHq4 AfrnTlDMpTXcIQRGssarlVj1msgAXkRV24YrDMoTrchKOGHMy2lvZVgDWc0wp+WwSZ/B QMrk7Jgy/NHPWkUfHe7jgV3tl2BcWNR+7wX09KqHbPfC2Ntw45Ppx7nh14uVhkbOys5X 6twbLZjd6z80rxPHaRbAwPQhHh5QJ34smZiOnYQLMlgkWkJG1T5Bq1BNvcyqILXwl9Ef FJ8Q==
MIME-Version 1.0
X-Received by 10.60.124.130 with SMTP id mi2mr2127568oeb.25.1412914904733; Thu, 09 Oct 2014 21:21:44 -0700 (PDT)
Date Thu, 9 Oct 2014 21:21:44 -0700
Subject python on Linux
From Igor Korot <ikorot01@gmail.com>
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14733.1412914913.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412914913 news.xs4all.nl 2840 [2001:888:2000:d::a6]:44665
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78920

Show key headers only | View raw


Hi, ALL,
When I am on Windows, I can write something like this:

sys.path.append('C:\Users\Igor\Documents\MyLib')

Now, when I'm on Linux, can I do this:

sys.path.append('~/MyLib')

?

I.e., will '~' sign be expanded correctly?

Thank you.

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


Thread

python on Linux Igor Korot <ikorot01@gmail.com> - 2014-10-09 21:21 -0700
  Re: python on Linux John Gordon <gordon@panix.com> - 2014-10-10 04:37 +0000
  Re: python on Linux Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-10-10 08:31 +0200
    Re: python on Linux Chris Angelico <rosuav@gmail.com> - 2014-10-10 17:58 +1100
      Re: python on Linux Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-10-10 09:48 +0200
    Re: python on Linux Peter Pearson <pkpearson@nowhere.invalid> - 2014-10-10 15:44 +0000
      Re: python on Linux Chris Angelico <rosuav@gmail.com> - 2014-10-11 02:53 +1100
    Re: python on Linux Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-10 09:52 -0600

csiph-web