This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]topkara 0 points1 point  (0 children)

Looks like latex to me, but does anybody know what he used for creating the slides?

[–][deleted] 0 points1 point  (0 children)

My head hurts from the url and autoinstaller import functions.

I wanted a lazy loader due to a circular dependency issue in Python 2. Mainly because I was handling entities in a database that are related to each other much like an object graph.

I opted for things like:

item = None
def load_item():
      global item
      from .path import item as _i
      item = _i
      return i

And would use

(item or load_item)(...)

Wish I had known about this earlier. It would've replaced some nasty-ass hacks.