On Thu, 6 Nov 2008 21:50:52 +0200 "Nadav Horesh" <[EMAIL PROTECTED]> wrote: > A correction: > > lines_list = [cc[i:i+8] for i in range(1, len(cc), 8)] > > Nadav
Hi Nadav, Thank you very much. My next question; How can I save lines_list to a file with the following so called small field format (NASTRAN). Each row consists of ten fields of eight characters each. Field 1 should be empty in my application. Field 10 is used only for optional continuation information when applicable. 12345678123456781234567812345678123456781234567812345678123456781234567812345678 xxxxxxxxyyyyyyyyzzzzzzzz........ Cheers, Nils _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion