John Fouhy wrote:
>> I found it somewhat annoying that in order to define a two-dimensional array
>> in python I need some may [[[]]] and ,,:
>> A = array([[0, 1, 2, 3], # initialize 2-d array
>>[4, 5, 6, 7],
>>[8, 9, 10, 11],
>>[12, 13, 14, 15]])
I
Hi Eli,
Please use "reply to all" so that other list users can follow the
conversation if they wish.
On 11/10/2007, Eli Brosh <[EMAIL PROTECTED]> wrote:
> Thank you very much for the reply.
> No, I did not check that there is no control character in the multiline.
> I just assumed that it is not
On 10/10/2007, Eli Brosh <[EMAIL PROTECTED]> wrote:
>
>
> Hello
> I have a multiline string such as:
> s='''This is the first line
> This is the second line
> This is the third longer line'''
>
> Note that s has no control character such as \n.
Did you check that?
>>> s = '''This is the first lin
Hello
I have a multiline string such as:
s='''This is the first line
This is the second line
This is the third longer line'''
Note that s has no control character such as \n.
The lines are defined as in "natural" writing.
How can I extract from s, several strings, each of which is a line from t