René's URL Explorer Experiment


Title: Need a Constant in Python? Enums Can Come in Useful

Open Graph Title: Need a Constant in Python? Enums Can Come in Useful

X Title: Need a Constant in Python? Enums Can Come in Useful

Description: Python doesn’t have constants. But it has enums

Open Graph Description: Python doesn’t have constants. But it has enums

X Description: Python doesn’t have constants. But it has enums

Opengraph URL: https://www.thepythoncodingstack.com/p/python-enums-constants

direct link

Domain: www.thepythoncodingstack.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"NewsArticle","url":"https://www.thepythoncodingstack.com/p/python-enums-constants","mainEntityOfPage":"https://www.thepythoncodingstack.com/p/python-enums-constants","headline":"Need a Constant in Python? Enums Can Come in Useful","description":"Python doesn\u2019t have constants. But it has enums","image":[{"@type":"ImageObject","url":"https://substackcdn.com/image/fetch/$s_!GVLT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8396ef2-9864-4c82-b6fa-7873b81ea513_5464x7428.jpeg"}],"datePublished":"2026-01-12T13:33:18+00:00","dateModified":"2026-01-12T13:33:18+00:00","isAccessibleForFree":true,"author":[{"@type":"Person","name":"Stephen Gruppetta","url":"https://substack.com/@stephengruppetta","description":"Constantly looking for simple ways to explain complex things in Python \u2022 You'll find Python and narrative technical writing stuff here\u2026 stephengruppetta.com","identifier":"user:120170782","sameAs":["https://twitter.com/s_gruppetta_ct"],"image":{"@type":"ImageObject","contentUrl":"https://substackcdn.com/image/fetch/$s_!nmag!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca736a83-f5a1-4563-ac6c-c09a9e6fa351_800x800.png","thumbnailUrl":"https://substackcdn.com/image/fetch/$s_!nmag!,w_128,h_128,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca736a83-f5a1-4563-ac6c-c09a9e6fa351_800x800.png"}}],"publisher":{"@type":"Organization","name":"The Python Coding Stack","url":"https://www.thepythoncodingstack.com","description":"I write the articles I wish I had when I was learning Python programming\n\nI learn through narratives, stories. And I communicate in the same way, with a friendly and relaxed tone, clear and accessible","interactionStatistic":{"@type":"InteractionCounter","name":"Subscribers","interactionType":"https://schema.org/SubscribeAction","userInteractionCount":1000},"identifier":"pub:1563052","logo":{"@type":"ImageObject","url":"https://substackcdn.com/image/fetch/$s_!Dn3k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png","contentUrl":"https://substackcdn.com/image/fetch/$s_!Dn3k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png","thumbnailUrl":"https://substackcdn.com/image/fetch/$s_!Dn3k!,w_128,h_128,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png"},"image":{"@type":"ImageObject","url":"https://substackcdn.com/image/fetch/$s_!Dn3k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png","contentUrl":"https://substackcdn.com/image/fetch/$s_!Dn3k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png","thumbnailUrl":"https://substackcdn.com/image/fetch/$s_!Dn3k!,w_128,h_128,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab4a59e8-e362-456b-8427-934e87c31a0d_600x600.png"},"sameAs":["https://twitter.com/s_gruppetta_ct"]},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":7},{"@type":"InteractionCounter","interactionType":"https://schema.org/ShareAction","userInteractionCount":2},{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1}]}

norton-safeweb-site-verification24usqpep0ejc5w6hod3dulxwciwp0djs6c6ufp96av3t4whuxovj72wfkdjxu82yacb7430qjm8adbd5ezlt4592dq4zrvadcn9j9n-0btgdzpiojfzno16-fnsnu7xd
theme-color#ffffff
og:typearticle
og:imagehttps://substackcdn.com/image/fetch/$s_!GVLT!,w_1200,h_675,c_fill,f_jpg,q_auto:good,fl_progressive:steep,g_auto/https://substack-post-media.s3.amazonaws.com/public/images/c8396ef2-9864-4c82-b6fa-7873b81ea513_5464x7428.jpeg
twitter:imagehttps://substackcdn.com/image/fetch/$s_!pQwI!,f_auto,q_auto:best,fl_progressive:steep/https://thepythoncodingstack.substack.com/api/v1/post_preview/184308498/twitter.jpg?version=4
twitter:cardsummary_large_image
authorStephen Gruppetta
google-site-verification