|
|
#1 (permalink) |
|
Status: Junior Member
Join Date: Oct 2008
Posts: 5
|
Types of Files in Python:-
1. In general, there are two types of files: text and binary. 2. A text file contains data that has been encoded as text, using a scheme such as ASCII or Unicode. Even if the file contains numbers, those numbers are stored in the file as a series of characters. As a result, the file may be opened and viewed in a text editor such as Notepad. 3. A binary file contains data that has not been converted to text. As a consequence, you cannot view the contents of a binary file with a text editor. 4. Although Python allows you to work both text files and binary files. |
|
|
|
![]() |
| Bookmarks |
| Tags |
| python, types of files |
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Types of Profiles In Windows XP | Brilliant | Operating systems | 0 | 12-04-2008 11:50 AM |
| Variables and types in a C++ Program | volt | Programming | 0 | 11-29-2008 05:17 AM |
| File Types in Java | amplitude | Programming | 0 | 11-26-2008 09:08 AM |
| Working with Lists and Files in Python | achiever | Programming | 0 | 11-04-2008 10:38 AM |
| Types of JSP Scripting Elements | prashant | Programming | 0 | 08-16-2008 08:27 AM |