Help me understand...

Steve Steve at steve.com
Wed May 7 20:03:58 EDT 2003


Thanks.  Phew.  It's darn good to have a clue when looking at the
parameters!


"Norm" <norm at cheers.com> wrote in message
news:3eb883c1_7 at corp.newsgroups.com...
> I'm learning this slowly...
>
> As I read the syntax of using split it says this in IDLE.
> s.split(sep [,maxsplit]]) -> list of strings
>
> Now what I misunderstood out of this was that I should use [brackets] and
a
> ,comma such as this.
>
> s.split([n ,[3]]) - which of course didn't work.
>
> After 30 tries I got this to work
> s.split("n",3) - how come the quotes weren't in the help?
>
> What is the darn rules for reading help/man/info/syntax in Python?
>
> Thanks
> Norm
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----==  Over 80,000 Newsgroups - 16 Different Servers! =-----






More information about the Python-list mailing list