News for hackers. Stuff that matters.
Re:Altering Python attribute handling for modules by dist-epoch on Monday September 11, 2023 @09:44AM (#37467160)
Python imports don't work like in Java.

  import keras.applications.vgg16.VGG16
  import keras.applications.vgg16.preprocess_input

  preprocess_input(...)  # ERROR
  keras.applications.vgg16.preprocess_input(...)  # CORRECT

There are no comments on this comment yet.