Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.126 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.75; '*S*': 0.00; 'am,': 0.13; 'wrote:': 0.15; 'modules?': 0.16; 'cc:addr:python-list': 0.16; 'variable': 0.21; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In- Reply-To:1': 0.22; 'url:mailman': 0.27; 'sort': 0.28; 'message- id:@mail.gmail.com': 0.28; 'thu,': 0.28; 'import': 0.29; 'cc:addr:python.org': 0.30; 'module': 0.30; 'url:listinfo': 0.32; 'there': 0.34; 'received:209.85.161.46': 0.34; 'received:mail- fx0-f46.google.com': 0.34; 'define': 0.35; 'url:python': 0.36; 'depend': 0.37; 'received:google.com': 0.37; 'but': 0.37; 'received:209.85': 0.38; 'received:209.85.161': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'your': 0.61; 'jun': 0.67; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:gmail.com': 0.78; 'blog!': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=tNMQXf//93heBkQEw6bor9rECc6LOLqCg6q7grxhPSI=; b=pkz2p1v9KknftCOfSw6jrWrNk1p6iekt5PE4M/FaUonj5FGubSeyDFRlKf4SQBZlzh AJIh1jdjV11D791rpXsQuoH7OFw1BL3WSOHw4jhX9U1SyWr4IC/cASH/I8PntlmLv1Jn hUjdYTN+mfUQkhCpDwBmvJtUi8hkI824RSKCE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=Mxm62FnfBQR01mxchFtgCmhpQy/lNuucPQfI5STXanEzs86qYUb/gi+KUJ9DC0E/6C +uOZHjzI9tEDsuw4j0cvfhM7GCMh0empgxkgbNIHKDdn7kBx3vozuBhZtMUZp/B2aAEo rGLM8t+LQENPBZF8tEzVvcGcsRcq5YMH+47/M= MIME-Version: 1.0 In-Reply-To: <7c6cf5e3-8ba0-45c8-86f8-bf3fc5fa2422@v11g2000prn.googlegroups.com> References: <7c6cf5e3-8ba0-45c8-86f8-bf3fc5fa2422@v11g2000prn.googlegroups.com> From: Calvin Spealman Date: Thu, 23 Jun 2011 09:51:51 -0400 Subject: Re: Project-wide variable... To: Gnarlodious 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 Reply-To: ironfroggy@gmail.com 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: 17 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308837139 news.xs4all.nl 14131 [::ffff:82.94.164.166]:51395 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8297 No, but you can define a name in one module and import that into others. On Thu, Jun 23, 2011 at 9:41 AM, Gnarlodious wrote: > Is there a way to declare a project-wide variable and use that in all > downstream modules? > > -- Gnarlir > -- > http://mail.python.org/mailman/listinfo/python-list > -- Read my blog! I depend on your acceptance of my opinion! I am interesting! http://techblog.ironfroggy.com/ Follow me if you're into that sort of thing: http://www.twitter.com/ironfroggy