gilbert189 — 7/22/2023, 6:06:46 PM

How do you handle sibling imports?

JavaScript: "I use .. to notate the parent directory and then move to the sibling I want. Just like how they did it in the 70s."

Python: "I make and install a new 'package' on a virtual environment before I can import it. I could use sys.path, but that's more of a bodge really."

♥ 2 ↩ 0 💬 0 comments

comments

no comments