Python Forum
Understanding "help()" output?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding "help()" output?
#1
I am fairly new to Python and sometimes have minor trouble understanding the output from help().

First of all, is there a way to tell what formats are acceptable for *args and **kwargs? When the help() function lists methods, it often gives something like:
Methods defined here:
__method__(self, / ,*args,**kwargs).

I would like to play around and experiment with different modules and methods, but often find it difficult because I can't figure out what formats to use for *args and **kwargs. I also assume that this display fails to communicate the number of arguments that are required as well.
Reply


Messages In This Thread
Understanding "help()" output? - by Athenaeum - Sep-29-2017, 05:06 PM
RE: Understanding "help()" output? - by ichabod801 - Sep-29-2017, 05:21 PM
RE: Understanding "help()" output? - by Larz60+ - Sep-29-2017, 05:32 PM
RE: Understanding "help()" output? - by Athenaeum - Sep-29-2017, 09:32 PM
RE: Understanding "help()" output? - by nilamo - Sep-29-2017, 09:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Common understanding of output processing with conditional statement neail 6 879 Sep-17-2023, 03:58 PM
Last Post: neail
  Help understanding RegEx logic/output pyNewbee 4 2,286 Nov-15-2020, 02:21 AM
Last Post: pyNewbee
  understanding output of bytes/raw data rootVIII 3 2,755 Aug-01-2019, 01:00 PM
Last Post: rootVIII
  help on understanding this output landlord1984 1 2,952 Mar-08-2017, 08:29 PM
Last Post: zivoni

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020