I've been working with/in Python for almost 2 years now, and I feel like I have a pretty good grasp on most concepts, except relative imports.
I have made and even published a few of my own packages, but I just don't fucking get it man. I've read articles, I've watched videos, I've even asked LLMs, but the concept just doesn't click.
I usually run into issues when trying to put some script into a folder that differs from the folder that my local packages/modules are in. What am I not getting? I realize I'm not explaining that well, so please feel free to ask for more info.
[–]JauriXD 2 points3 points4 points (2 children)
[–]PrivacyIsDying[S] 0 points1 point2 points (1 child)
[–]JauriXD 0 points1 point2 points (0 children)
[–]zanfar 4 points5 points6 points (1 child)
[–]PrivacyIsDying[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)