Python

  1. Home
  2. Computing & Technology
  3. Python

Python Blog

From Al Lukaszewski, for About.com

Working With Text Files

Tuesday June 24, 2008
No matter what kind of programming you do, you will almost certainly have to deal with a text file at some point. How you want Python to process that file will depend on what your are coding. For example, reading the entire file for every instance of the program is not typically best practice for a web app or similar server-based program. To review quickly four of the several ways you can skin a text file, check out "Ways to Work With Files in Python".

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Python

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Python

  1. Home
  2. Computing & Technology
  3. Python

©2009 About.com, a part of The New York Times Company.

All rights reserved.