Python File IO Basics | Python Tutorials For Absolute Beginners In Hindi #25

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


Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

#Answer to the question of the day.
def functionName():
""" Inspiring me to learn by you harry. keep it up harry bhai. God bless you """
print(functionName.__doc__)

rayganmudberry
Автор

def function1():
"""this is the question of the day"""

print(function1.__doc__)

k_abhishek
Автор

Sir for this purpose, we have to write our code as print(func.__doc__)
By writing this, we can get our docstring of func() which we have written just after heading for func()
I understand only because of you sir, ❤️❤️hats off to Harry sir, 🌟🌟 thanks a lot sir

Health_asset
Автор

print Hope I got it Right... And.... Thank you so much Harry I am learning coding now... And your videos made it very easy to understand for me.... Thanks A Lot...I request you please continue this kind of Python Series and start a new series for 2023 🙏🙏🙏☺☺

parthdeshpande
Автор

answer of question of the day - print(func1.__doc__)

indiancookinghindi
Автор

just loving it Harry, you are the best !!!!

IK-zcwo
Автор

Harry bhai ek number tutorial. Ek request hain abhi koi bhi Machine
Learning ka tutorial MAT BANAO pura focus python tutorial pe rakho kam
se kam 100-200 vidoes bana do python pe. Ek baar hum logo ka python
accha hojayega toh Machine learning baad me ho jayega aur easy padega.
thank you so much Harry bhai..

flamboyantperson
Автор

Your Tutorials are Blessings for people like us, who love to LEARN and that too in smaller CRISP videos and in a much easy way.
God Bless u bhai !!

himanshuagrawal
Автор

def function1():
"""Thank You So Much Harry Sir"""
print(function1.__doc__)

# Output:Thank You So Much Harry Bhai

Nivya
Автор

# time stamp 5:55

print(func1.__doc__)

vinsmalya
Автор

I am learning to code in this lockdown..and it's really compelling the way you are teaching 🔥❤️ I am going to finish the basics in no time..

blazeophere
Автор

#i was tired of making new file for every tutorial so I made this code to help me
for n in range(25, 125):
p=str(n)
m=("tut"+p+".py")
print(m)
f = open(m, "x")
f.close()
#to make all the files at once just like I did, copy this whole code and run it in your pycharm

rohitjain
Автор

You made phython so easy for me. I am a pharmacy student i wanted to learn coding but i am sure it was not possible without your help.
#great #teacher #harry
😊

shilpirastogi
Автор

First, to add the docstring in any function, just come to the first/home line of function. Then write the info which you want to display in triple qoutes("""--"""), which we usually use in python to write multi-line comment. Then to access/print that string/docstring we need to write,
syntax:
print(function1.__doc__)

Basically we removed the parenthesis from function and add full stop or dot instead, then we add double underscore before and after doc. Hope the reader may understand. If not he/she may take the syntax help to clarify his/her doubt.
Hope you like my comment.
Please reply Harry Bhai if possible.
And I request you to make a dedicated video on "Hacking". If you are seeing my comment then please make a video on it.
Thanks

Krishan_Gautam
Автор

print(functionname.__doc__)
This command is used to see the docstring of a function.

ayushtiwari
Автор

def function1():
"""This function is used to find average of two numbers."""
print(function1.__doc__)

mshailjain
Автор

# Thanks! I was confused that how do you comment all that at once.
def func1():
"""Question of the day"""
print(func1.__doc__)

simplifyingeducation
Автор

To create docstring e
We have to write the sentence like"""your input"""
And and to print in we have write
Print(function name._doc)

sureshjain
Автор

If we use a lot of functions in our program then it can get messy to understand that later so to understand what the function code does we can use docstring. It is written just after we start defining a function inside """ Docstring """ and can be printed later by using print(functionname._doc_) command.

jatsyamohla_
Автор

Harry bhai function ke docstring ko access krne ke liye function.___doc___ use krte hain

indiancookinghindi