Insert Content of a File into a Variable

Grant Edwards grante at
Fri Oct 27 03:46:43 CEST 2006

On 2006-10-27, Wijaya Edward <ewijaya at> wrote:

> How can we slurp all content of a single file 
> into one variable?

I suggest you read the rest of the tutorial as well.

Grant Edwards                   grante             Yow!  I want EARS! I
                                  at               want two ROUND BLACK
                                 EARS to make me feel warm
                                                   'n secure!!

More information about the Python-list mailing list