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)
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
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
"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
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