Computer Science · Python Programming
बैच डेटा निर्यात के दौरान फ़ाइल हैंडलिंग में Python संदर्भ प्रबंधकों (जैसे, with open()) के लिए, exit मेथड वैचारिक रूप से क्या गारंटी देती है?
- 1यह डिफ़ॉल्ट रूप से फ़ाइलों को अपेंड मोड (append mode) में खोलता है
- 2यह फ़ाइल सामग्री पर स्वचालित रूप से पुनरावृत्ति करता है
- 3यह संसाधनों को वैश्विक स्कोप (global scopes) से बांधता है
- 4यह क्लीनअप (जैसे, फ़ाइलें बंद करना) निष्पादित करता है, भले ही कोई अपवाद (exception) उत्पन्न हो✓
सही उत्तर देखें
यह क्लीनअप (जैसे, फ़ाइलें बंद करना) निष्पादित करता है, भले ही कोई अपवाद (exception) उत्पन्न हो
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Programming