[Zope] How can I read and write external files (Linux filesystem) with python?

Ken Kinder kkinder@messagemedia.com
Wed, 05 Apr 2000 06:49:00 -0600


It's almost like the C API. Here is an example:

	fd = open(filename)
	txt = fd.read()
	fd.close()

More information can be found at http://www.python.org/doc

> jensebaer wrote:
> 
> hi all,
> 
> How can I read and write external files (Linux filesystem) with
> python?
> 
> Thanks
> 
> Jens

-- 
Ken Kinder
303.381.7631