Computer subjects pdf in hindi

Exception Handling in Python in Hindi – पायथन में एक्सेप्शन हैंडलिंग क्या है?

पायथन में, Exception Handling एक प्रक्रिया है जिसके द्वारा हम program में आने वाले errors को आसानी से handle कर सकते हैं, जिससे हमारा प्रोग्राम crash नहीं होता और यूजर को एक अच्छा experience मिलता है। दूसरे शब्दों में कहें तो, “Python में, Exception Handling एक महत्वपूर्ण feature है, जो program को errors को handle … Read more

Pattern Matching in Python in Hindi – पैटर्न मैचिंग क्या है?

Pattern Matching का मतलब होता है किसी दिए गए text (string) में एक विशेष pattern को match करना। यह तब उपयोगी होता है जब हमें string के अंदर किसी विशेष format, structure, या sequence को खोजने की जरूरत होती है। Python में pattern matching के लिए regular expressions (regex) का उपयोग किया जाता है। Regular … Read more

Package in Python in Hindi – पायथन में पैकेज क्या है?

पायथन में, Package एक collection होता है जिसका इस्तेमाल बहुत सारें modules को एक group (समूह) में रखने के लिए किया जाता है। Package एक तरह से Python के folder जैसा होता है, जिसमें कई modules होते हैं, जिससे हमें अपने प्रोजेक्ट को अलग-अलग हिस्सों में बाँटने में मदद मिलती है। Python में Packages का … Read more

Constructor in Python in Hindi – पायथन में Constructor क्या है?

पायथन में, Constructor एक विशेष प्रकार का method होता है जिसे class के object को initialize करने के लिए इस्तेमाल किया जाता है। जब भी हम class के object को create करते हैं, तो constructor अपने आप call हो जाता है। दूसरे शब्दों में कहें तो, “Constructor एक विशेष प्रकार का function होता है जो … Read more

Access Modifiers in Python in Hindi – पायथन में Access Modifier क्या है?

पाइथन में Access Modifiers का इस्तेमाल यह निर्धारित करने के लिए किया जाता है कि कौन से class members (जैसे variables और methods) को class के बाहर से access किया जा सकता है और कौन से नहीं। दूसरे शब्दों में कहें तो, “Access Modifiers का इस्तेमाल class members की visibility और accessibility को कंट्रोल करने … Read more

File Handling in Python in Hindi – फाइल हैंडलिंग क्या है?

Python में File Handling का मतलब है, files को open करना, read करना, write करना, और close करना। फाइल हैंडलिंग का इस्तेमाल करके हम data को स्टोर कर सकते हैं और भविष्य में इस data का इस्तेमाल कर सकते हैं। File handling बहुत ही आसान और महत्वपूर्ण प्रक्रिया है जिसकी मदद से हम files के … Read more

Array Methods in Python in Hindi

Python में arrays के साथ काम करने के लिए कई methods हैं। जिनके बारें में नीचे दिया गया है:- 1. append() यह मेथड Array के अंत में एक नया item जोड़ता है। 2. insert() यह Array के किसी एक index पर item जोड़ता है। 3. remove() यह Array से पहले बार मिलने वाले किसी विशेष … Read more

Array in Python in Hindi – पायथन में Array क्या है?

Python में, Array एक data structure है जिसका इस्तेमाल एक ही तरह के data types को स्टोर करने के लिए किया जाता है। उदाहरण के लिए, अगर हमें एक साथ बहुत सारें numbers को स्टोर करना है, तो हम array का उपयोग कर सकते हैं। दूसरे शब्दों में कहें तो, “Array एक Collection है जिसमें … Read more

Set Methods in Python in Hindi

Set में कुछ built-in methods होते हैं, जो Set के elements को modify करने और Set से संबंधित operations को perform करने में मदद करते हैं। नीचे आपको set methods दी गई हैं:- 1. add() add() method का उपयोग Set में एक नया element जोड़ने के लिए किया जाता है। अगर element पहले से Set … Read more

Set in Python in Hindi – पायथन में Set क्या है?

Set एक collection data type है, जो unordered और unindexed होता है। इसका मतलब है कि Set में data किसी एक fix order (क्रम) में नहीं होता और elements को access करने का कोई एक index नहीं होता। Set में सभी एलिमेंट unique होते हैं, यानी कि इसमें कोई duplicate value नहीं हो सकती। Set … Read more