René's URL Explorer Experiment


Title: OOP in Python, part 4: Static methods - by Eric Matthes

Open Graph Title: OOP in Python, part 4: Static methods

X Title: OOP in Python, part 4: Static methods

Description: MP 41: Some methods don't need to work with attributes.

Open Graph Description: MP 41: Some methods don't need to work with attributes.

X Description: MP 41: Some methods don't need to work with attributes.

Opengraph URL: https://www.mostlypython.com/oop-in-python-part-4-static-methods/

X: @ghost

Generator: Ghost 6.52

direct link

Domain: www.mostlypython.com


Hey, it has json ld scripts:
{
    "@context": "https://schema.org",
    "@type": "Article",
    "publisher": {
        "@type": "Organization",
        "name": "Mostly Python",
        "url": "https://www.mostlypython.com/",
        "logo": {
            "@type": "ImageObject",
            "url": "https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w256h256/2024/02/logo_200px.png",
            "width": 60,
            "height": 60
        }
    },
    "author": {
        "@type": "Person",
        "name": "Eric Matthes",
        "url": "https://www.mostlypython.com/author/eric-matthes/",
        "sameAs": []
    },
    "headline": "OOP in Python, part 4: Static methods - by Eric Matthes",
    "url": "https://www.mostlypython.com/oop-in-python-part-4-static-methods/",
    "datePublished": "2023-07-27T16:31:00.000Z",
    "dateModified": "2024-03-27T15:50:54.000Z",
    "image": {
        "@type": "ImageObject",
        "url": "https://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/image/fetch/w_2000,h_2000,c_fill,f_jpg,q_auto:good,fl_progressive:steep,g_auto/https-3a-2f-2fsubstack-post-media.s3.amazonaws.com-2fpublic-2fimages-2f3659588f-ebc5-4bf3-a45c-654dcb89c10e_4025x2442.jpg",
        "width": 1200,
        "height": 1200
    },
    "keywords": "Newsletter, OOP",
    "description": "MP 41: Some methods don't need to work with attributes.",
    "mainEntityOfPage": "https://www.mostlypython.com/oop-in-python-part-4-static-methods/"
}
    

referrerno-referrer-when-downgrade
og:site_nameMostly Python
og:typearticle
og:imagehttps://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/image/fetch/w_1200,h_600,c_fill,f_jpg,q_auto:good,fl_progressive:steep,g_auto/https-3a-2f-2fsubstack-post-media.s3.amazonaws.com-2fpublic-2fimages-2f3659588f-ebc5-4bf3-a45c-654dcb89c10e_4025x2442.jpg
article:published_time2023-07-27T16:31:00.000Z
article:modified_time2024-03-27T15:50:54.000Z
article:tagOOP
article:publisherhttps://www.facebook.com/ghost
twitter:cardsummary_large_image
twitter:urlhttps://www.mostlypython.com/oop-in-python-part-4-static-methods/
twitter:imagehttps://storage.ghost.io/c/b0/88/b088fa59-ac78-44d9-9662-4c7568d7cb9a/content/images/size/w1200/image/fetch/f_auto,q_auto:best,fl_progressive:steep/https-3a-2f-2fmostlypython.substack.com-2fapi-2fv1-2fpost_preview-2f134851721-2ftwitter.jpg
twitter:label1Written by
twitter:data1Eric Matthes
twitter:label2Filed under
twitter:data2Newsletter, OOP
og:image:width1200
og:image:height600

Links:

Mostly Python https://www.mostlypython.com
Homehttps://www.mostlypython.com/
Topicshttps://www.mostlypython.com/topics/
Serieshttps://www.mostlypython.com/series/
Abouthttps://www.mostlypython.com/about/
Contacthttps://www.mostlypython.com/contact/
Just readhttps://www.mostlypython.com/just-read/
Sign inhttps://www.mostlypython.com/oop-in-python-part-4-static-methods/#/portal/signin
Subscribehttps://www.mostlypython.com/oop-in-python-part-4-static-methods/#/portal/signup
Newsletterhttps://www.mostlypython.com/tag/newsletter/
https://www.mostlypython.com/author/eric-matthes/
Eric Mattheshttps://www.mostlypython.com/author/eric-matthes/
serieshttps://www.mostlypython.com/oop-in-python/
previous posthttps://www.mostlypython.com/oop-in-python-part-3-the-__init__/
next posthttps://www.mostlypython.com/oop-in-python-part-5-class-methods/
1https://www.mostlypython.com/oop-in-python-part-4-static-methods/#footnote-1
11 code fileshttps://github.com/search?q=repo%3Aplotly%2Fplotly.py%20staticmethod&type=code&ref=mostlypython.com
methodhttps://github.com/plotly/plotly.py/blob/598f214f78e65032a3f0ed8366f3b0534a2e92ce/packages/python/plotly/plotly/basewidget.py?ref=mostlypython.com#L795
mostly_pythonhttps://github.com/ehmatthes/mostly_python/tree/main/mp41_static_methods?ref=mostlypython.com
https://www.mostlypython.com/oop-in-python-part-4-static-methods/#footnote-anchor-1
Exploring chess games MP 171: A first foray into the massive Lichess database. I've been getting back into chess since moving to North Carolina, and as part of that journey I've been wanting to analyze games in ways that weren't really possible when I was last playing By Eric Matthes Jul 9, 2026 https://www.mostlypython.com/exploring-chess-games/
I keep being be impressed by uv MP 170: It understands my old projects! A few years ago I made a small project that automatically adds borders to screenshots, because macOS doesn't have a built-in tool to easily do that. For a couple years I installed it globally on every system I used, so By Eric Matthes Jun 25, 2026 https://www.mostlypython.com/i-keep-being-be-impressed-by-uv/
An LLM can't go for a walk in the woods MP 169: But we still can, and we should keep doing so. Regular readers of Mostly Python are probably aware that I'm currently working on gh-profiler. It helps open source maintainers make better-informed decisions about how much time to invest with users who open new PRs By Eric Matthes Jun 11, 2026 https://www.mostlypython.com/an-llm-cant-go-for-a-walk-in-the-woods/
Batching API calls MP 168: An obvious speedup, with a surprising side benefit. I've been working steadily on gh-profiler, while attending PyCon US and working on other projects as well. The project makes a number of calls to GitHub's API, and then analyzes the results to generate some By Eric Matthes May 28, 2026 https://www.mostlypython.com/batching-api-calls/
Sign uphttps://www.mostlypython.com/oop-in-python-part-4-static-methods/#/portal/
Ghosthttps://ghost.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.