Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'question:': 0.07; 'mentions': 0.09; 'subject:modules': 0.09; 'url:peps': 0.09; 'library': 0.13; 'packages.': 0.13; 'received:209.85.214.174': 0.13; "*don't*": 0.16; 'clashes': 0.16; 'modules?': 0.16; 'naming': 0.16; 'quote.': 0.16; 'subject:Newbie': 0.16; 'url:pep-0008': 0.16; 'cc:addr:python-list': 0.16; 'subject:question': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'pep': 0.23; 'url:dev': 0.23; 'thanks.': 0.24; 'cc:2**0': 0.26; 'bit': 0.28; 'message- id:@mail.gmail.com': 0.29; 'avoiding': 0.29; 'cc:addr:python.org': 0.29; 'error': 0.30; 'modules': 0.32; 'there': 0.33; 'question,': 0.34; 'things': 0.35; 'url:python': 0.35; 'received:209.85.214': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'should': 0.38; 'url:org': 0.39; 'recommended': 0.39; 'received:209': 0.39; 'subject: (': 0.40; 'easy': 0.60; 'site': 0.60; 'here': 0.64; '100%': 0.82 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yWtsYcY+6+0XVgqD19rjB6xgVjrp1NxBU8l5jOqM/eY=; b=tmabfW6fCWQdpkdsEtGDnZZsAewxhuUp19WvV7kF3UUbxJwzwSI+z8CVCcyVBSs7wr 4LELtwH5PTnoEZfsy3vzfclaJNLYL2zxHllMA6uzFhuhvNb9ZnES5Zsoi8gv1zc9ynDY FBBJ7OLW4Kq555fdBkw885gaaD+73frsYjcEE= MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 9 Feb 2012 14:36:52 +0000 Subject: Re: Naming convention for in-house modules (Newbie question) From: Arnaud Delobelle To: Laurent Claessens Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328798215 news.xs4all.nl 6865 [2001:888:2000:d::a6]:39955 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20079 On 9 February 2012 14:00, Laurent Claessens wrote: > >> Here is my question: I would like to start an in-house library of small >> modules to import, for things like error handling/logging. That's easy >> enough, but is there a recommended way of naming such modules? I am >> concerned about avoiding name clashes with standard modules and site >> packages. >> >> Thanks. >> > > This is not 100% an answer to the question, but you should read that : > http://www.python.org/dev/peps/pep-0008/ The OP mentions PEP 8 in the bit of his message that you *don't* quote. -- Arnaud