How to tell if function was passed a list or a string?
Sion Arrowsmith
siona at chiark.greenend.org.uk
Thu May 18 09:49:07 EDT 2006
rh0dium <steven.klass at gmail.com> wrote:
> [ ... ]
Since you have lots of answers to your real question:
> an.append(re.sub(",","", str(a)))
an.append(str(a).replace(",", ""))
--
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
More information about the Python-list
mailing list