Life, the Universe and Everything
my notes and legacy of what do i know and have done
Pages
TimeLine
ListenMe
myStudents
iPhoto
iLegacy
CV
SciPub
myGarage
iMoto
iWeb
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
Jaunāka ziņa
Vecāka ziņa
Sākumlapa
Abonēt:
Ziņas komentāri (Atom)
Nav komentāru:
Ierakstīt komentāru