Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Whenever I'm exploring the source code of a Python package and I find it has a util.py file in it, I let out the deepest sigh.

Whenever I'm exploring the source code of a Python package and I find it has a util.py file in it, I let out the deepest sigh.

Scheduled Pinned Locked Moved Uncategorized
3 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • alsweigart@mastodon.socialA This user is from outside of this forum
    alsweigart@mastodon.socialA This user is from outside of this forum
    alsweigart@mastodon.social
    wrote last edited by
    #1

    Whenever I'm exploring the source code of a Python package and I find it has a util.py file in it, I let out the deepest sigh.

    Link Preview Image
    petrillic@hachyderm.ioP xenophage@infosec.exchangeX 2 Replies Last reply
    0
    • alsweigart@mastodon.socialA alsweigart@mastodon.social

      Whenever I'm exploring the source code of a Python package and I find it has a util.py file in it, I let out the deepest sigh.

      Link Preview Image
      petrillic@hachyderm.ioP This user is from outside of this forum
      petrillic@hachyderm.ioP This user is from outside of this forum
      petrillic@hachyderm.io
      wrote last edited by
      #2

      @AlSweigart that’s silly. Those things go in __init__.oh

      1 Reply Last reply
      0
      • alsweigart@mastodon.socialA alsweigart@mastodon.social

        Whenever I'm exploring the source code of a Python package and I find it has a util.py file in it, I let out the deepest sigh.

        Link Preview Image
        xenophage@infosec.exchangeX This user is from outside of this forum
        xenophage@infosec.exchangeX This user is from outside of this forum
        xenophage@infosec.exchange
        wrote last edited by
        #3

        @AlSweigart Is that a bad pattern? (he asks sheepishly…)

        1 Reply Last reply
        1
        0
        • R relay@relay.infosec.exchange shared this topic
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups