It can be maintaining daily household bills, bank account details, salary details, payment details, student information, student reports, books in the library, etc. How it will be recorded in one place so that we can get it back when required? It should be recorded in such a way that. In the traditional approach, before to computer, all pieces of information were stored in papers. When we need information, we used to search through the papers. If we know a particular date or category of information we are searching for, we go to that particular session in the papers.
When we want to update or delete some data, we search for it and modify them or strike off them. For Example : If you are buying a ticket from railway and you are in the process of money transaction. Suddenly, your internet got disconnected then you may or may not have paid for the ticket. If you have paid then your ticket will be booked and if not then you will not be charged anything.
That is called consistent state, means you have paid or not. Labor is very costly in this era and no organization can afford wastage of their precious labor. File Processing System needs lots of copied data in different files that cause wastage of labor. Also maintaining same data again and again leads to wastage of space too. Data is isolated in File Processing System and data is stored in different files.
These files can be in different formats. If you want to extract data from two file then you are required to which part of the file is needed and how they are related to each other. But still in spite of so many disadvantages, File Processing System is still good for small organizations because it does not require costly softwares and programmers to handle it.
So these were the detailed Disadvantages of File Processing System If you have any question in your mind then please ask us in comment section below. Table of Contents. Improve Article. Save Article. Like Article. Recommended Articles. Article Contributed By :. Easy Normal Medium Hard Expert. Writing Line to a Text File fileObj.
The current stream position is the number of bytes from the beginning of the file in binary mode, and an opaque number in text mode. Path Operations Using Module os. Checking Path Existence and Type os. To form an absoute path, you need to begin with a os. The returned directory name could be absolute or relative, depending on the path given. This could be an absolute filename, an absolute directory-name, or an absolute symlink. For example,! However, If you just want to read or write a file, use built-in function open.
If you just want to manipulate paths files, directories and symlinks , use os. If you want to read all the lines in all the files on the command-line, use fileinput module. Directory Management os. You could use os. File Management os. List a Directory Recursively via os.
In Python 3, use subprocess. String Operations The built-in class str provides many member functions for text string manipulation. Strip whitespaces blank, tab and newline s. Whitespaces includes blank, tab and newline.
0コメント