Beruflich Dokumente
Kultur Dokumente
Python Glossary
Python Glossary
ChatGPT
ChatGPT
You
ChatGPT
ChatGPT
You
ChatGPT
ChatGPT
You
ChatGPT
You
ChatGPT
ChatGPT
You
ChatGPT
ChatGPT
You
ChatGPT
ChatGPT
You
ChatGPT
ChatGPT
ChatGPT
ChatGPT
Whetting Your Appetite: एक िस्तावनात्मक खंड जो पायथन में रुचि
उत्तेक्जत करने के ललए डडजाइन क्रकया गया है ।
ChatGPT
ChatGPT
Python me "Argument Passing" ka mtlb hota hai ki aap kisi function ya script ko kisi input ke saath call kar
rahe hain aur woh input function ya script ke parameters mein pass hota hai. Isse function ya script ko
specific values milte hain jinhe woh process karta hai.
ChatGPT
"Invoking Python interpreter" ka arth hota hai Python interpreter ko chalana ya invoke karna. Jab aap
Python interpreter ko invoke karte hain, aap essentially Python programming language ke code ko execute
karne ke liye interpreter ko activate kar rahe hote hain.
Iske liye aap command line mein python likh kar enter kar sakte hain.
ChatGPT
ChatGPT
"Interactive Mode" ek mode hai jiska istemal programming languages mein code ko real-time execute
karne aur immediate feedback milne ke liye kiya jata hai. Python mein interactive mode ko "Python
Interactive Shell" ya "Python REPL (Read-Eval-Print Loop)" bhi kehte hain.
Jab aap Python interpreter ko command line par bina kisi script ke chalate hain, toh aap interactive mode
mein chale jate hain. Is mode mein aap ek line code likh kar enter press karte hain, jisse interpreter turant
us code ko execute karta hai aur result ko print karta hai.
Example:
pythonCopy code
$ python Python 3.9.7 (default, Sep 16 2021 , 16 : 59 : 32 ) [GCC 8.4.0 ] on linux Type "help" ,
"copyright" , "credits" or "license" for more information. >>>
Yahan, >>> symbol aapko indicate karta hai ki aap interactive mode mein hain aur yahan par aap line-by-line
Python code likh sakte hain jo turant execute hota hai.
Interactive mode ka upayog code snippets test karne, small experiments karne, ya syntax samajhne ke liye
hota hai.
ChatGPT
ChatGPT
"Source Code Encoding" ka mtlb hota hai ki aap apne Python source code mein kaunsa character encoding
istemal kar rahe hain. Character encoding ka use text data ko computer mein store aur transmit karne ke
liye hota hai. Python mein, source code encoding ko specify karne ke liye, aap special comment ka istemal
karte hain.
Python source code file ke top par, aap # -*- coding: encoding -*- is tarah se ek special comment likh
sakte hain, jahan "encoding" ko aap apne actual character encoding ke saath replace karenge.