Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34362
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'subject:question': 0.08; 'wrong,': 0.09; 'dec': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'module?': 0.16; 'wrote:': 0.17; 'package.': 0.17; 'thu,': 0.17; 'header:In-Reply-To:1': 0.25; 'merge': 0.27; 'message-id:@mail.gmail.com': 0.27; 'lines': 0.28; 'source': 0.29; 'file': 0.32; 'could': 0.32; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'doing': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'modules': 0.36; 'uses': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'necessarily': 0.63; 'package?': 0.84 |
| 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=qWvXGLCJuClhZoPH8amQ5pUWA8X/CAhfxhaY8FDlLQ4=; b=AqU7VTquAudxp57YcYMh32AJ5ELYrZ+PHfBHEynyhkHmpeNmZzs2+Ty5sljpOo0EQM e2ZM8jOOLOn2K4rcicKA9Lh80IpAPuerSGgTPxUcvI0XiGEQcfIY7H1FYs9P60euXToz Rx0AmDOzgAIkmntv2lUzuIzrPHiH5gEXtzRqU8jsJsCN9x2flmYh00trH8y9nLWaHoX0 XHnfOkSTcS/I7tiqHcq2biQTwfLUg8mCgPs+pF6Zr+BRN+LK3uuWeFsHfmL4dveC7JNW Hl7cpAf4wXWFOOyS9HdsgLSH2U+PcGFlpJSXj3nvXLgrfio2op9/90ZMBG3gz3LjRelo rwjw== |
| MIME-Version | 1.0 |
| In-Reply-To | <4e72a337-07a2-4759-9960-3e8dab7f1e5c@googlegroups.com> |
| References | <4e72a337-07a2-4759-9960-3e8dab7f1e5c@googlegroups.com> |
| Date | Thu, 6 Dec 2012 16:18:01 +1100 |
| Subject | Re: question about importing a package |
| From | Chris Angelico <rosuav@gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.545.1354771085.29569.python-list@python.org> (permalink) |
| Lines | 8 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1354771085 news.xs4all.nl 6858 [2001:888:2000:d::a6]:49245 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:34362 |
Show key headers only | View raw
On Thu, Dec 6, 2012 at 3:58 PM, Matt <matt@woodridgeadvisors.com> wrote: > I have about 30 modules in my package (foos and bars) and I don't want 30 lines at the top of each file that uses this package. What am I doing wrong? Not necessarily wrong, but definitely something to query: WHY do you have thirty modules in your package? How big are your source files - could you simply merge them into a single module? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
question about importing a package Matt <matt@woodridgeadvisors.com> - 2012-12-05 20:58 -0800
Re: question about importing a package Chris Angelico <rosuav@gmail.com> - 2012-12-06 16:18 +1100
Re: question about importing a package alex23 <wuwei23@gmail.com> - 2012-12-05 22:30 -0800
Re: question about importing a package Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-06 06:54 +0000
Re: question about importing a package Matt <matt@woodridgeadvisors.com> - 2012-12-06 08:50 -0800
Re: question about importing a package Terry Reedy <tjreedy@udel.edu> - 2012-12-06 15:44 -0500
csiph-web