Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Jürgen Geuter Jürgen Geuter

    @whilefalse: print(obj.__dict__) should do something similar to what you want

    Friday, 28-Aug-09 14:08:25 UTC from Gwibber
    • techwizrd techwizrd Python

      @whilefalse Can't you just use the regular print() (or print statement in <2.6) function !python

      Friday, 28-Aug-09 13:59:38 UTC
    • Paul Philippov Paul Philippov

      @whilefalse i guess you mean dir()

      Friday, 28-Aug-09 14:02:26 UTC
    • streetcleaner streetcleaner Python

      @whilefalse maybe you should take a look at the __dict__ property or use the dir() method !python

      Friday, 28-Aug-09 14:02:30 UTC
    • Iain Lowe Iain Lowe Python

      @whilefalse You may be looking for dir() or print(obj.__dict__) as ways to dump object information in !python

      Friday, 28-Aug-09 14:02:33 UTC
    • naw naw

      @whilefalse look at the pprint module

      Friday, 28-Aug-09 14:02:34 UTC
    • Eugene R. Miller Eugene R. Miller Python

      @whilefalse !python I miss print_r() most objects you can just print and it'll sorta do what print_r does.

      Friday, 28-Aug-09 14:03:03 UTC
    • Roberto Alsina Roberto Alsina

      @whilefalse pprint (from module pprint)

      Friday, 28-Aug-09 14:06:32 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal