Decorators in Python | Python Tutorial - Day #59

preview_player
Показать описание

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

We need Django full course with amazing projects. Man 💣

CodeWithJaffar
Автор

@CodeWithHarry bro you did'nt teach us about *args and **kwargs

mahdinohi
Автор

Harry bhai you are truly right when I started learn c in 2017 there were only a handful of channels with classroom type teaching videos, I joined a local coaching just to learn that language, still makes me think how quickly things have changed, all thanks to creators like you, and the god who created this tech called internet

embarrassed_dodo
Автор

After about 60 days of this series, I believe that this series is really helpful for beginners but belive that there could be some higher topics too like best sorting methods, numpy, pandas etc (Hope it comes in the future)
Overall i give it a 5 rating as Harry Bhai is really the GOAT ⭐️⭐️⭐️⭐️⭐️
Keep up the good work 👏

arnavkohli
Автор

To understand this you must know ( if you are a beginner like me)

1)nested functions
2)passing function as a parameter and argument
3)returning function from function

musicaljoker
Автор

10:00 Harry bhai giving full motivation wala speech

CoderInRain
Автор

This is the implementation of decorator pattern of Gang of Four, in which we add additional responsibility, if we use @ method then it apply on every call but second method only call on those on which we applied

muhammadsaadaziz
Автор

# Define a decorator function
def my_decorator(func):
def wrapper():
print("Something is happening before the function is called.")
func()
print("Something is happening after the function is called.")

return wrapper


# Use the decorator with the "@" symbol
@my_decorator
def say_hello():
print("Hello!")


# Call the decorated function
say_hello()

mohammadhasnat
Автор

Harry Bhai todays's lecture is amazing.I have a doubt that " *args and **kwargs " course main sayad nahi hey, main follow kar rahan hun course ko, agar ho sake toh next video main iske bare main thoda explain kardete toh bahat ache se samajh aajayega.

Thank You !

VoiceThatMatter
Автор

as far as i remember, you have not shared *args and **karg in previous videos

kanakdwivedi
Автор

Present sir
Can you please tell the use of *args and **kwargs in detail and give more use - cases.

sudhansubalasahoo
Автор

Best tutorials and guidance, organized by topic, in short videos with full descriptions, are awesome.

haripadajana
Автор

The intro video gives us just that much goosebump hype such that we are going to prepare for a mission right

anotech
Автор

timestamp 2.44 Harry sir Apaki teaching bahut hi acchi hai, is decorator ka example to bahut hi achha hai.
mere paas shabda nahi hai aapko thank you bolane ke liye. Thank you infinity.

kishorshitole
Автор

"I will see you next time" is an emote for real, same smile and gesture every time lol it's amazing.
#HarryBhaiOP
#100DaysOfCode

AakarshGoyal
Автор

Thanks for updating my knowledge sir ji 🙏

thealexkr
Автор

Love u bhai because of u I have learned a lot in python

shreybarot
Автор

Bro
Thanks to you
For giving us precious computer knowledge in todays technology era

only_hidden-identity
Автор

Harry Bhai. Really nice explanation. Saying modified function instead of wrapper and writing greet(hello)() solves my doubt and clear my concept. Thanks man and best wishes.

devarshisingh
Автор

(*args) and (*kwargs )did not explained by you :- HARRY BHAI😻😻😻😻😻😻😻

jlinkjl