6 Nov 2008 6 Nov '08
On Thu, 6 Nov 2008 21:50:52 +0200 "Nadav Horesh" email@example.com wrote:
lines_list = [cc[i:i+8] for i in range(1, len(cc), 8)]
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.