5 Custom Python Decorators For Your Projects

  Рет қаралды 3,241

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 21
@barmalini
@barmalini 9 сағат бұрын
thisl is wild, I never thought decorators were so easy
@nathanedison8692
@nathanedison8692 7 сағат бұрын
Not just useful, really helps make sense of what decorators are and how they work. Thanks!
@abeyroy007
@abeyroy007 11 сағат бұрын
Broo you are too OP 🔥 Keep churning out more Python content... *PYTHON FOREVAAAAAA !!!*
@KeithFlint350
@KeithFlint350 11 сағат бұрын
from neuralnine import decorators
@michaelthomas3235
@michaelthomas3235 5 сағат бұрын
For the type decorator, I suggest accessing the __annotations__ property of the function and use the hints as the determinate instead of inputing the types in the decorator per function. This makes the decorator more reusable and less coupled.
@lowkeygaming4716
@lowkeygaming4716 12 сағат бұрын
Thanks again for another quality content
@davewest6788
@davewest6788 6 сағат бұрын
Thanks for explaining decorators.
@youngzproduction7498
@youngzproduction7498 42 минут бұрын
This is gold! 🎉 Thanks for your great effort.
@Mistery28543
@Mistery28543 12 сағат бұрын
Really useful
@MartinBlaha
@MartinBlaha 7 сағат бұрын
Very useful and well explained. Thank you 👋
@sigmata0
@sigmata0 5 сағат бұрын
Awesome, thank you.
@halilibrahimkisakesen546
@halilibrahimkisakesen546 6 сағат бұрын
Great,thanks neurol nine. I've already find a solution to some minor bugs
@jftuga
@jftuga 46 минут бұрын
Can you explain when you need to use "def decorator(func)" & "return decorator" and when you do not?
@rahulkmail
@rahulkmail 11 сағат бұрын
What will happen if I change value when I use, "@cache" decorator like print(process_input(6)) in any step of calling the method process_input() ?
@barmalini
@barmalini 9 сағат бұрын
it's for you to decide, because you will have to implement that derorator and there you specify what is going to happen
@somebody___06-j3g
@somebody___06-j3g 10 сағат бұрын
How to Create a simple tool with UI that leverages AI to analyze logs of a Windows 10/11 computer to identify warnings, log off, and login time of users, the tool should automatically email a summary to a particular email ID.
@murphygreen8484
@murphygreen8484 Сағат бұрын
Is there an easy way to globally turn decorators on and off?
@Da_phuc
@Da_phuc 12 сағат бұрын
Nah this is wild.
@skewty
@skewty 8 сағат бұрын
Is old school synchronous code still being widely used outside of the learning sector and data science / AI? I have been seeing / writing async for over 5 years and seldom see benefit in pseudo threaded code.. Maybe when python and the GIL are removed things will change.. This video seems to be your learning journey in python from newb to intermediate.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 60 М.
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 124 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 16 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,2 МЛН
Why Are Threads Needed On Single Core Processors
16:07
Core Dumped
Рет қаралды 162 М.
15 POWERFUL Python Libraries You Should Be Using
22:31
ArjanCodes
Рет қаралды 62 М.
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 108 М.
Graph - Data Structures in Python #8
28:49
NeuralNine
Рет қаралды 2,5 М.
Why I’m Switching To Go in 2024
8:10
Awesome
Рет қаралды 95 М.
Avoid These BAD Practices in Python OOP
24:42
ArjanCodes
Рет қаралды 77 М.
Why You Should Think Twice Before Using Returns in Python
21:27
ArjanCodes
Рет қаралды 32 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 360 М.
PDF Summary with LLMs in Python - LangChain Tutorial
14:19
NeuralNine
Рет қаралды 3,8 М.
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 64 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 16 МЛН