Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18152

Re: Get Class properties

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news-transit.tcx.org.uk!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.144
X-Spam-Level *
X-Spam-Evidence '*H*': 0.72; '*S*': 0.01; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'all,': 0.28; 'message- id:@mail.gmail.com': 0.28; 'pm,': 0.29; 'chris': 0.30; 'to:addr :python-list': 0.34; 'received:209.85.212': 0.34; 'function.': 0.34; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'subject:Get': 0.71; 'subject:Class': 0.84; 'subject:properties': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=o/I/xJ+kLKr6AA2J1OLeelS6HHpRiXhdhzmhqVpKwPY=; b=XMRz8yYBZ5bVr+S36r2id2o0d7mNLFn1CCPq4LMAM2ERviRwZl2zyiIZU+o/TgDVM2 x4TXkOCtMsB1C4fUMjROVQ+Uy42BMUECro9sOq6JpASHTjFKvZUCtB8T7SduCudWIkNz It6lDdyEONFgL1YK5d+71cPxML6YCCb4kxVIQ=
MIME-Version 1.0
In-Reply-To <CAOypoo5xLgKgfiU97X-V63CAYA77f704D2jWp-2YDji5UbiO=g@mail.gmail.com>
References <CAOypoo42XOLDWjTMb0HbaPF=mwfSHMTeqSdoCFwPU=7-YcCv8g@mail.gmail.com> <CAOypoo5xLgKgfiU97X-V63CAYA77f704D2jWp-2YDji5UbiO=g@mail.gmail.com>
Date Thu, 29 Dec 2011 11:27:21 +1100
Subject Re: Get Class properties
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4206.1325118448.27778.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325118448 news.xs4all.nl 6911 [2001:888:2000:d::a6]:46908
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18152

Show key headers only | View raw


On Wed, Dec 28, 2011 at 11:13 PM, Emeka <emekamicro@gmail.com> wrote:
> Hello All,
>
> I have seen what I am looking for.. __dict__.
>

Yep! You may also want to look at the dir() function.

Chris Angelico

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Get Class properties Chris Angelico <rosuav@gmail.com> - 2011-12-29 11:27 +1100

csiph-web