Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: python on Linux Date: Fri, 10 Oct 2014 04:37:52 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 14 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1412915872 11731 166.84.1.3 (10 Oct 2014 04:37:52 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 10 Oct 2014 04:37:52 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:78921 In Igor Korot writes: > sys.path.append('~/MyLib') > I.e., will '~' sign be expanded correctly? Not as written. Use os.path.expanduser() to get user's home directories. -- John Gordon Imagine what it must be like for a real medical doctor to gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'.