Writing apps without using relative imports

Discussion in 'Python' started by Randall Smith, Dec 3, 2004.

  1. I've noticed the push by Guido and others to use absolute imports
    instead of relative imports. I've always enjoyed the ease of relative
    imports, but am starting to understand that "explicit is better than
    implicitly" as the Python philosophy goes. I'm trying to develop a
    strategy for writing packages using only absolute imports and would
    really like to know what others have learned.

    Randall
    Randall Smith, Dec 3, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    1,603
    Mitch
    May 11, 2006
  2. Chris

    Relative imports

    Chris, Mar 5, 2005, in forum: Python
    Replies:
    4
    Views:
    538
    Kent Johnson
    Mar 5, 2005
  3. Albert
    Replies:
    4
    Views:
    10,810
    Albert
    Jul 10, 2008
  4. zildjohn01
    Replies:
    0
    Views:
    623
    zildjohn01
    Feb 22, 2011
  5. Victor Hooi
    Replies:
    1
    Views:
    96
    Devin Jeanpierre
    Nov 25, 2013
Loading...

Share This Page