File:-
File related record का collection होता है जिसे hard disk पर save किया जाता है
जब Computer पर कोई data लिखा जाता है तब वो पहले अपने RAM (Random Access Memory) पर store होता है और जब Computer को turn off किया जाता है तब वो सारा data lose हो जाता है और जब उस data को save किया जाता है तब वो Computer के Secondary Storage Device (Hard Drive) पर permanently store किया जाता है
Python programming language में दो प्रकार की file होती है
-
High level file
-
Low level file
-
High Level File:- high level file में library function का use किया जाता है इसे user द्वारा समझा जा सकता है
-
Low Level File:- इसे system oriented file भी कहा जाता है इस फाइल को system calls के द्वारा manage किया जाता है।
File:-
File is a collection of related records which is saved on the hard disk. When any data is written on a computer, it is first stored in its RAM (Random Access Memory) and when the computer is turned off, all that data gets lost and when that data is saved then it Stored permanently on the secondary storage device (hard drive) of the computer.
There are two types of files in Python programming language.
-
High level file
-
Low level file
-
High Level File:- Library function is used in high level file, it can be understood by the user.
-
Low Level File:- It is also called system oriented file, this file is managed through system calls.