Graphical object browser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason

    Graphical object browser

    Hi,

    I've spent all day looking for a graphical object browser for Python
    2.5 under Debian GNU/Linux, ie. something I can just drop into my code
    with an import and a "browse(my_obje ct)" statement. So far I've only
    found intractable GUI toolkits or obsolete, non-functional scripts.

    I was wondering if there is a simple tool like this out there
    somewhere. Preferably one that doesn't involve me installing a massive
    IDE, but I can't really be picky.

    Cheers,
    Jason
  • Jason

    #2
    Re: Graphical object browser

    Hooray! I discovered PyCrust. I made this script (for Linux - under
    Win, you could just have all but the first line as a python file and
    run it directly):

    #!/usr/bin/python
    import wx
    import wx.py.PyCrust

    if __name__ == '__main__' :
    app = wx.App()
    pc = wx.py.PyCrust.A pp(app)
    pc.MainLoop()

    Run it from the working dir and tinker from there.

    Comment

    • Propad

      #3
      Re: Graphical object browser

      On Oct 30, 2:10 am, Jason <jason.hee...@g mail.comwrote:
      Hooray! I discovered PyCrust. I made this script (for Linux - under
      Win, you could just have all but the first line as a python file and
      run it directly):
      >
      #!/usr/bin/python
      import wx
      import wx.py.PyCrust
      >
      if __name__ == '__main__' :
          app = wx.App()
          pc = wx.py.PyCrust.A pp(app)
          pc.MainLoop()
      >
      Run it from the working dir and tinker from there.
      Hello,
      is it still possible to run PyCrust with Python 2.2? I see no
      installer for it anywhere...
      Cheers,
      Propad

      Comment

      • Mike Driscoll

        #4
        Re: Graphical object browser

        On Oct 30, 8:33 am, Propad <npropado...@go oglemail.comwro te:
        On Oct 30, 2:10 am, Jason <jason.hee...@g mail.comwrote:
        >
        Hooray! I discovered PyCrust. I made this script (for Linux - under
        Win, you could just have all but the first line as a python file and
        run it directly):
        >
        #!/usr/bin/python
        import wx
        import wx.py.PyCrust
        >
        if __name__ == '__main__' :
            app = wx.App()
            pc = wx.py.PyCrust.A pp(app)
            pc.MainLoop()
        >
        Run it from the working dir and tinker from there.
        >
        Hello,
        is it still possible to run PyCrust with Python 2.2? I see no
        installer for it anywhere...
        Cheers,
        Propad
        PyCrust is part of wxPython now (I think). But I'm not sure how long
        it's been a part of that package. You can try downloading one of the
        really old wxPython versions and see if it's included:



        Mike

        Comment

        • Jason

          #5
          Re: Graphical object browser

          Yeah, PyCrust is in wxPython now. But I take back my initial
          excitement — it's freaking hard to use, despite its provision of a
          "pywrap" script (batch file under Windows). You certainly can't just
          replace "python /path/to/blah.py" with "pywrap /path/to/blah.py",
          especially if your script requires knowledge of where it is. (It also
          seems to freeze an awful lot under my Windows testing environment.)

          Comment

          • Jason

            #6
            Re: Graphical object browser

            Yeah, PyCrust is in wxPython now. But I take back my initial
            excitement — it's freaking hard to use, despite its provision of a
            "pywrap" script (batch file under Windows). You certainly can't just
            replace "python /path/to/blah.py" with "pywrap /path/to/blah.py",
            especially if your script requires knowledge of where it is. (It also
            seems to freeze an awful lot under my Windows testing environment.)

            Comment

            Working...