News for hackers. Stuff that matters.
Re:Altering Python attribute handling for modules by dkersten on Monday September 11, 2023 @03:43PM (#37472610)
In Clojure we have (using :require in the namespace declaration):

(:require [foo.bar])

(:require [foo.bar :as quux])

(:require [foo.bar :refer [x y z]])

…etc

There’s no reason you couldn’t have similar syntax in Python.

There are no comments on this comment yet.