Xah Lee wrote: > i have a large number of lines i want to turn into a list. > In perl, i can do > > @corenames=qw( > rb_basic_islamic > sq1_pentagonTile > sq_arc501Tile > sq_arc503Tile > ); > > use Data::Dumper; > print Dumper([EMAIL PROTECTED]); > > ---------- > is there some shortcut to turn lines into list in Python?
str.splitlines -- http://mail.python.org/mailman/listinfo/python-list