"David" <ld...@gmx.net> wrote
whenever I make use of the help() function, I have a good chance of
getting an error. I have not yet understood this tool very well.

You need to import the module to maker the name visible

help(random)
help('operator')

I figured this by trial and error,

error mainly.

What you are seeing is the help for the string 'operator' - which is the same as the help for any other string - the builtin string methods. Comparte it with

help('')

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to