Rigga at hasnomail.com
Thu Jun 24 19:50:53 CEST 2004
On Wed, 23 Jun 2004 21:36:50 +0100, Rigga wrote:
> I am new to python and am working on a script that parses a file and loads
> the results in to variables for processing. I am having problems when it
> comes to data in the file that wraps over two lines i.e.
> las -
> What i want to be able to do is to some how strip all the spaces from it
> so while it is contained as a variable so it equal 'las - lomas'
> How do I go about doing this? I have tried it using the
> string.strip(myvariable,"") however that doesnt appear to do anything.
> Any help appreciated
Resolved the problem about 1 min after posting - please ignore this thread
More information about the Python-list