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!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'string.': 0.05; 'escape': 0.09; 'windows': 0.15; 'backslashes': 0.16; 'path.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(or': 0.24; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'file': 0.32; 'fri,': 0.33; 'raw': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'forward': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=LrzEzKHuIv9dRiH9WnofsS9nIBZ+2QldNYz9boISA3o=; b=DX3XnPp5Cg5Srkc87XGF70XVRfn/ezePY8BxQxIX67wfAs6ztoVYvKAk3Emi3i0byR h1KcoLEmcMo90alF1nKulx5kcchbBvxs3Z2t+T7XQx+4O8JROyaBBrilFq5MifRP+2wU 4kNnY6kTSpOs3LRUAL6tsVwpRNC15nc3wyVZqRoBtgGMlzalFURTH+XtbKFBMDNYR0/j XTTP1UBIbxXy1gv4xmpct8yhxQpaOGnG+F/Vg8K8tvMsCu2WLZhpGXFOxow3zAiBbQ0M Mjjl7rUr8u58jS4rw9Zi2BO0LnZlG9TkP0aVaud82S6tlNFg8/M7j3N6+JJkaG4f3WXh JUkw== X-Received: by 10.70.88.136 with SMTP id bg8mr3514952pdb.156.1412956369239; Fri, 10 Oct 2014 08:52:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <54377d29$0$2833$e4fe514c@news.xs4all.nl> References: <54377d29$0$2833$e4fe514c@news.xs4all.nl> From: Ian Kelly Date: Fri, 10 Oct 2014 09:52:08 -0600 Subject: Re: python on Linux To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412956372 news.xs4all.nl 2919 [2001:888:2000:d::a6]:36773 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:78956 On Fri, Oct 10, 2014 at 12:31 AM, Irmen de Jong wrote: > - you need to escape the backslashes (or just use forward slashes, they work on windows too) Or use a raw string. There is usually no reason to have escape sequences at all in a file system path.