[Tutor] file I/O

Massey, Craig Craig.Massey@oxygenforbusiness.com
Thu, 12 Jul 2001 11:15:00 +1200


Where was that hiding when I was looking for it? Suddenly the language
reference contains all kinds of useful stuff. Either my local version
doesn't have it or I was blind. Probably the latter.

-----Original Message-----
From: Danny Yoo [mailto:dyoo@hkn.eecs.berkeley.edu]
Sent: Thursday, July 12, 2001 9:58 AM
To: Massey, Craig
Cc: 'ak@silmarill.org'; tutor@python.org
Subject: RE: [Tutor] file I/O


On Thu, 12 Jul 2001, Massey, Craig wrote:

> Well there you go, thanks. I did a workaround which got there, but I
> was looking for something neater like this. I'd love to know how
> people find out about these things as I spent a lot of time looking
> for it. The help with Activestate is either babyish(Tutorial) or very
> specific (Language Reference) and I have trouble finding out how to do
> things.

Well, if you have any questions on certain topics, feel free to ask them
here.  If there's some part of Python that doesn't seem well documented,
we can help patch it up... *grin*

By the way, it sounds like you may be doing some string manipulation
stuff.  If so, take a look here:

    http://python.org/doc/lib/strings.html

It gives more specific information on string manipulation.  For example,
you can find information on strip() and its variants here:

    http://python.org/doc/lib/module-string.html#l2h-645

DISCLAIMER:  This electronic message together with any attachments is 
confidential.  If you are not the intended recipient, do not copy, disclose or 
use the contents in any way.  Please also advise us by return e-mail that you 
have received the message and then please destroy.  Carter Holt Harvey is not 
responsible for any changes made to this message and / or any attachments after 
sending by Carter Holt Harvey.  We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment.