Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45456

How to use relative Import

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <chitrankdixit@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.104
X-Spam-Level *
X-Spam-Evidence '*H*': 0.79; '*S*': 0.00; 'subject:How': 0.10; 'python': 0.11; 'imports': 0.16; 'examples': 0.20; 'import': 0.22; 'developers': 0.25; 'relative': 0.30; 'message- id:@mail.gmail.com': 0.30; 'basic': 0.35; 'india': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'aspects': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'different': 0.65; 'url:blogspot': 0.65; 'internet': 0.71
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=LHQMfafraIwWOjW08j9wOVz81fvBPnQYBtastLAHnX4=; b=fIFXsDWYzzWNZcU+QAaCajQaRwEXLUS9Szl9gcPAEftx/5as7kVK4ysF68NtW2zmt0 hYfvWk2rddh6w35AiJHOA94WZcBEQ9q2n680eUrAbqbmJdZFqldEydwtxwoCxPG5kWE/ Hlxh0ROI4LKulBIekzoHBFbkJTKjroxqbuevaimg6ewQs+nb+AMtJjZtcGvM0Ku/uufo 81AMPa5rlaS77ublvSI1BeJTOi8L/wP9Q93gBOjbjhkUOGovilJ6A6BZeoeuUT0VfSPd qVtjFsDnfs8e8Et0/Q8RTQ0zbwUpMoKlveUa1bTOP27rcVPKFNalfGA//k2M9MFS9+Rw zF7w==
MIME-Version 1.0
X-Received by 10.50.236.100 with SMTP id ut4mr10169748igc.86.1368734749192; Thu, 16 May 2013 13:05:49 -0700 (PDT)
Date Fri, 17 May 2013 01:35:49 +0530
Subject How to use relative Import
From Chitrank Dixit <chitrankdixit@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=14dae9399de3847e3704dcdb64d4
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.1777.1368734751.3114.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368734751 news.xs4all.nl 15872 [2001:888:2000:d::a6]:53025
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45456

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Python developers

I want to know how relative imports are different than import. I have found
lots of examples on internet explaining about the relative import

but I want to know about the basic aspects of relative import that make it
different than import.


*Regards
*
*Chitrank Dixit
*
*IIPS-DAVV
*
*Indore (M.P.) , India *
*MCA
*
*trackleech.blogspot.in*

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

How to use relative Import Chitrank Dixit <chitrankdixit@gmail.com> - 2013-05-17 01:35 +0530
  Re: How to use relative Import Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-16 23:39 +0000

csiph-web