iTechtalk

Quick Search

Go Advanced

Member Login

Not registered? | Forgot Password
 
Register
Welcome
 
iTechtalk > Tutorials > Programming » Types of Files in Python
Reply
Old 11-03-2008, 09:41 AM   #1 (permalink)
 
developer's Avatar
 
Junior Member
Join Date: Oct 2008
Posts: 5
Post Types of Files in Python

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.
developer is offline   Reply With Quote
 
Reply

Bookmarks

Tags
python, types of files

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Types of Profiles In Windows XP Brilliant Operating systems 0 12-04-2008 10:50 AM
Variables and types in a C++ Program volt Programming 0 11-29-2008 04:17 AM
File Types in Java amplitude Programming 0 11-26-2008 08:08 AM
Working with Lists and Files in Python achiever Programming 0 11-04-2008 09:38 AM
Types of JSP Scripting Elements prashant Programming 0 08-16-2008 07:27 AM


 

Content Relevant URLs by vBSEO 3.3.0