Re: easy question about join method

2006-08-06 Thread nephish
very helpful indeed. i did a help([]) to see if it would give me anything for a list. wow. thanks a lot. -sk Terry Reedy wrote: > The easy way to get one answer for buildin funcs and methods is the help > function in the interactive interpreter (and Idle's and probably other > imitations thereof)

Re: easy question about join method

2006-08-06 Thread Terry Reedy
The easy way to get one answer for buildin funcs and methods is the help function in the interactive interpreter (and Idle's and probably other imitations thereof) is, for example, >>> help(str.join) Help on method_descriptor: join(...) S.join(sequence) -> string Return a string which

Re: easy question about join method

2006-08-06 Thread nephish
yep, easy enough thanks -shawn Jorge Godoy wrote: > "nephish" <[EMAIL PROTECTED]> writes: > > > i have seen the join method before, mostly in this group and i want to > > get it a little better. > > > > if i have a list > > > > x = ['this','is','a','sentence','held','in','a','list'] > > > > how

Re: easy question about join method

2006-08-06 Thread Jorge Godoy
"nephish" <[EMAIL PROTECTED]> writes: > i have seen the join method before, mostly in this group and i want to > get it a little better. > > if i have a list > > x = ['this','is','a','sentence','held','in','a','list'] > > how can i make it print as a single string? or make a single string out > of

easy question about join method

2006-08-06 Thread nephish
i have seen the join method before, mostly in this group and i want to get it a little better. if i have a list x = ['this','is','a','sentence','held','in','a','list'] how can i make it print as a single string? or make a single string out of it ? thanks -- http://mail.python.org/mailman/list