rfnix,

@scy Yeah, I think this is the number one thing I've seen people who are relatively new to Python struggle with when they start to interact with a somewhat larger project. Imports really are super confusing...

(I personally ended up converging into two main import methodologies for simplicity... (1) is always use absolute from a single root directory and (2) use absolute, but mangle sys.path as needed at the top of the file before the imports. I generally use (1) for proper code and (2) for quick and dirty experiments... but it's not a good way to do Python at all)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines