bit manipulation frustration
David Goodger
dgoodger at bigfoot.com
Sun Jul 23 00:41:08 EDT 2000
on 2000-07-22 23:38, Courageous (jkraska1 at san.rr.com) wrote:
> First, in one fell swoop of antigenious, I seem to have
> forgotten how to convert strings to sequences of char and
> vice versa. Eeek. Help? Will someone please remind me and
> hit me with a rubber mallet??? :)
>>> s="abcd"
>>> map(None, s)
['a', 'b', 'c', 'd']
... is one way. There are probably others. Consider youself whalloped.
> Second, this whole paradigm seems so skrewball.
...
> get it?)
No, not really. Post an example?
--
David Goodger dgoodger at bigfoot.com Open-source projects:
- The Go Tools Project: http://gotools.sourceforge.net
(more to come!)
More information about the Python-list
mailing list