Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197693
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | John Bokma <contact@johnbokma.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: I always forget how to access information about classes and methods - how to do it? |
| Date | Mon, 9 Mar 2026 17:52:05 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 14 |
| Message-ID | <10omtrn$3g9kl$1@dont-email.me> (permalink) |
| References | <mv838m-uvld2.ln1@q957.zbmc.eu> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 09 Mar 2026 16:52:08 +0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="5ad59b53234b3d9f7a46e94251933130"; logging-data="3679893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YQxjw3fRciPFC2ghXq34nN+pq3Tuirxg=" |
| User-Agent | Mozilla Thunderbird |
| Cancel-Lock | sha1:/69Ja9qIaX5aYei/TpIwSUJj1Ys= |
| Content-Language | en-US |
| In-Reply-To | <mv838m-uvld2.ln1@q957.zbmc.eu> |
| Xref | csiph.com comp.lang.python:197693 |
Show key headers only | View raw
On 09/03/2026 17:27, Chris Green wrote: > I know one can access information about python3 classes and methods > (e.g. list the methods in a class, show the parameters for a method, > etc.) but I always forget how to do it. > > Can someone enlighten me please, plus tell me where it is documented > so that I can bookmark it and not need to ask again. inspect? https://docs.python.org/3/library/inspect.html -- Static tumblelog generator: https://github.com/john-bokma/tumblelog/ Available as Python or Perl. Example tumblelog: https://plurrrr.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
I always forget how to access information about classes and methods - how to do it? Chris Green <cl@isbd.net> - 2026-03-09 16:27 +0000
Re: I always forget how to access information about classes and methods - how to do it? John Bokma <contact@johnbokma.com> - 2026-03-09 17:52 +0100
Re: I always forget how to access information about classes and methods - how to do it? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-03-09 19:21 +0000
Re: I always forget how to access information about classes and methods - how to do it? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-09 20:25 +0000
Re: I always forget how to access information about classes and methods - how to do it? Chris Green <cl@isbd.net> - 2026-03-09 21:26 +0000
Re: I always forget how to access information about classes and methods - how to do it? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-09 23:12 +0000
csiph-web