Insert Content of a File into a Variable

Paul McGuire ptmcg at austin.rr._bogus_.com
Fri Oct 27 09:44:35 EDT 2006


"Wijaya Edward" <ewijaya at i2r.a-star.edu.sg> wrote in message 
news:mailman.1310.1161913065.11739.python-list at python.org...
>
> Hi,
>
> How can we slurp all content of a single file
> into one variable?
>

Please don't double-post your questions.  Now you have two threads running 
with people answering the same question.

-- Paul





More information about the Python-list mailing list