Lim Woojaejaylog.hashnode.dev·Dec 19, 2024[Python] How Closures and Decorators in Python Work Together to Simplify CodeWhat Is Closure? A closure is created when a function (the inner function) is defined within another function (the outer function) and the inner function references variables from the outer function. def func1(): a = [] def func2(v): ...Pythonclosure
Archana Prustyarchana77.hashnode.dev·Oct 23, 2024Day 33: Master MongoDB Database Integration in PythonIntroduction : Welcome back to my Python journey! Yesterday, I laid the foundation with mysql database in python. Today, I dove into something more on database MongoDB, Let's explore what I learned! How to Install MongoDB on Windows: Step 1) Download...10 likes2Articles1Week
hai nguyenhainguyen.hashnode.dev·Jun 9, 2024Understanding Python's Import ContextImporting modules in Python can be confusing. It works, but many people don't understand why it works. A typical scenario: We encounter a ModuleNotFoundError, search online, and eventually we find a workaround or a way to make it work, but we don't u...Python
Michael Abraham Wekesawekesa360.hashnode.dev·Mar 12, 2024Leveling Up Your Python: 7 Advanced Concepts Explained in DepthHey there, Pythonistas! Ready to take your coding skills to the next level? Grab a cup of coffee and settle in, because we're about to dive deep into some of Python's most powerful advanced concepts. Don't worry if this sounds intimidating – I promis...Python
Namya Shahbigsmoke.hashnode.dev·Dec 20, 2023Python Projects for Advanced DifficultyStock Market Analysis Tool Create a program that fetches stock data using APIs (e.g., Yahoo Finance). Perform in-depth analysis, including visualizations, trends, and predictions using libraries like Pandas, NumPy, and Matplotlib. 2. Machine Lear...1 likevoice controlled virtual assistant
Rajveer Singhrajveer.hashnode.dev·Jul 12, 2023Python Traps1. Assignment to a Tuple of List %[INVALID_URL]Python 3
Ahtesham Zaidiahtesham-zaidi.hashnode.dev·Jun 24, 2023Demystifying Decorators in Python: A Powerful Tool for Function ManipulationIntroductionDecorators are a powerful feature in Python that allows you to modify function behavior at runtime. They are widely used in Python programming but can be a bit confusing for newcomers. In this article, we'll dive into the world of decorat...867 readsPython
Anand Vunnamanandtechblogs.hashnode.dev·May 31, 2023ClosuresClosure A Closure is a Python function object that remembers values in enclosing scope even if they are not present in memory. It is a record that stores a function together with an environment. It is like a mapping associating each variable of the f...Python 3
Arnab Chatterjeearnabchatterjee20k.hashnode.dev·Mar 28, 2023ClosuresWhen we start our programming journey, the thing that really confuses us is the global identifiers. At that moment we even don't know about the global properties in a language. Then we are introduced to scopes where actually the existence of any data...82 readsclosure
Sambhavi Dhanabalanhellosambhavi.com·Feb 22, 2023Python : Pure functionsWhether you work as an application developer or a data engineer, there will always be a need to clean, beautify, and bring data to a prescribed format. At such times, the following functions prove to be a lot useful. map filter zip reduce I use...89 readsPython 3