Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'source,': 0.04; 'url:pipermail': 0.05; 'subject:Python': 0.06; 'subject:Getting': 0.07; 'subject:PEP': 0.07; 'lines.': 0.09; 'unified': 0.09; 'api': 0.11; 'python': 0.11; "'user'": 0.16; 'fingerprints': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'locations.': 0.16; "module's": 0.16; 'quoted': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'creating': 0.23; 'text,': 0.24; 'source': 0.25; 'nearly': 0.26; 'header:In- Reply-To:1': 0.27; 'appear': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'open': 0.33; 'url:python': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'could': 0.34; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'replies': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'read': 0.60; 'myself': 0.63; 'us:': 0.65; 'stated': 0.69; 'groups.': 0.74; 'saw': 0.77; 'you:': 0.81; "else's": 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Pm59AuR3y9iCkshCqUw2h0xoNjpEPC/B6WtCDWO8eY4=; b=vXgerIjZbZ0twVoHYTHRUB7cKAiegyHiPsP4QEzxECMr26Se6MCHKFur+8YzId7Y3R wO26Bvn0wL95u5smfiFZzfZVkBNzz7rVP/Ijj+NAT+q3ArVtgpo0QTeGu9gkrcWW6dJB R/Zmz+PmmUqKksXVXupoZdMN9ibeYtQE07bmPd2uCp6DKCLtCkF7hNeY/P1E0uJRLSI9 UR+Dvmm4a1rFZf75zpAsUjwIIFLKKKiXDOtAzAKWuXwUPcHwE/0qC5MgoT6IyC5KNDn6 ta2XOy1cobfZ3f+TirNJFc5fqvl7LGnUH45ClJSaV1zsKtMRLmp49a9p0fxnzGtPfHLu +rhg== MIME-Version: 1.0 X-Received: by 10.66.122.66 with SMTP id lq2mr7524145pab.183.1385508025777; Tue, 26 Nov 2013 15:20:25 -0800 (PST) In-Reply-To: <2b6c4be1-e23f-488b-b64d-191d625dee46@googlegroups.com> References: <50402350-c9cb-47be-b513-ad2fb7170187@googlegroups.com> <27870dae-87ff-4435-a2ff-a42f95c21d48@googlegroups.com> <5294f942$0$16012$e4fe514c@news.xs4all.nl> <2b6c4be1-e23f-488b-b64d-191d625dee46@googlegroups.com> Date: Wed, 27 Nov 2013 10:20:25 +1100 Subject: Re: Getting the Appdata Directory with Python and PEP? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385508034 news.xs4all.nl 15986 [2001:888:2000:d::a6]:50673 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60551 On Wed, Nov 27, 2013 at 9:49 AM, Eamonn Rea wrote: >> Maybe this module is of some use to you: >> https://pypi.python.org/pypi/appdirs >> >> It provides a unified Python API to the various OS specific 'user' directory locations. > > I saw this, but I wanted to do it myself as I stated in the OP :) You could read the module's source code - that's one of the coolest benefits of open source, you can learn from someone else's implementation. Your posts, your replies particularly, are showing the increasingly-annoying fingerprints of Google Groups. Look at how they appear to us: https://mail.python.org/pipermail/python-list/2013-November/661217.html Note the double-spaced quoted text, and the unwrapped lines. Please do not use Google Groups, as it's nearly impossible to use without creating obnoxious posts. ChrisA