Help me understand...
Norm
norm at cheers.com
Tue May 6 23:56:12 EDT 2003
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