Python Forum
Relative import multiple levels ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relative import multiple levels ?
#4
(Feb-02-2018, 08:23 PM)metulburr Wrote: restate your structure. I dont understand what the dashes mean. From what i assume that means is?

packages/
    gradient/
        hsl_by_value.py
    objects/
        styles/
            box_style.py

Yep. That what my structure looks like.
Thanks. The ... solved my problem.
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Relative import multiple levels ? - by Windspar - Feb-02-2018, 06:14 PM
RE: Relative import multiple levels ? - by Windspar - Feb-02-2018, 11:55 PM
RE: Relative import multiple levels ? - by snippsat - Feb-02-2018, 08:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to reference the relative directory when creating a photoimage kenwatts275 3 6,405 May-18-2021, 07:22 PM
Last Post: menator01
  pyautogui screenshotting region relative to image found on screen Bmart6969 3 6,423 Oct-05-2019, 06:20 PM
Last Post: Bmart6969
  how do i write a cross-platform relative file path? pseudo 2 2,958 Aug-23-2019, 05:07 PM
Last Post: ThomasL
  function wanted: resolve relative path Skaperen 4 3,364 Sep-06-2018, 01:52 AM
Last Post: Skaperen
  Python 3.6.5 pathlib weird behaviour when resolve a relative path on root (macOs) QbLearningPython 7 6,168 May-29-2018, 08:38 AM
Last Post: QbLearningPython
  Parse XML - how to handle deep levels/hierarchy dwill 8 9,455 Apr-17-2018, 04:17 PM
Last Post: dwill
  ValueError: Attempted relative import in non-package JoeB 1 11,958 Mar-08-2018, 11:01 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020