Bro Grammingbrog.hashnode.dev·Mar 11, 2024Understanding the Basics Of Python Decorators :In Python, decorators are a mechanism for dynamically altering the behavior of functions or methods. They provide a concise syntax for applying functions to other functions, typically enhancing or modifying their functionality. Decorators are often u...Discuss·1 likePython
Ian Mwangipythonstudy.hashnode.dev·Aug 8, 2023Unwrapping the Magic: Demystifying Python Wrapper FunctionsIn the world of programming, efficient and elegant solutions are highly prized. Python, known for its readability and versatility, offers a powerful feature called "wrapper functions" that can significantly enhance your code's elegance and reusabilit...Discusspython programming
Chirag Shahpythonsden.hashnode.dev·Jun 26, 2023The Python Jobs GuideIntroduction Python is a flexible and potent programming language that has grown in popularity over the past few years. Python has grown to be a favourite among developers and businesses alike thanks to its ease of use, readability, and variety of ap...Discuss·42 readsPython
Zian Elijah Smithzianelijahsmith.hashnode.dev·Mar 13, 2023Different ways to import in PythonImporting in Python I was in a Python community on Twitter, and saw someone ask a question. They asked if import math and from math import * were the same. They are not. I decided to write a short post explaining the various ways you can import somet...Discuss·100 readsPython
Vivek Kumar Singhvivekon.hashnode.dev·Aug 20, 2022Are Tuples really immutable? #PyTip03Tuple in Python are immutable Data Structures. Unlike sets, dicts and lists, the values in a tuple cannot be changed once initialized. But is it really the case for tuples? See, tuples are immutable for the contents they hold that means the referenc...Discuss·87 readsPython
Saikiran Mtechswitch.in·Oct 14, 2019Beginner's Python: Unveiling Quirky and Useful Functions You Didn't know Existed1. Function to make a noun (adjective) from a verb or an adverb from a noun (adjective) def verbing(s): returns iflen(s) < 3 elses + ('ing', 'ly')['ing' ins] >>> verbing('help') helping >>> verbing('helping') helpingly 2. use a bare “*” asterisk...Discuss·29 readspython tricks