2012-11-20

Array to string in python

Converting chosen dimension from pseudo 2D  array (list within a list) to string in Python can be done written at least in 4 lines. "for" loop together with "string" functionality to join or "implode" an array element.

Code can be seen here- http://pastebin.com/y1kQ2kpe

Nav komentāru:

Ierakstīt komentāru