using tkinter to display html

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stephen M. Gava

    #1

    using tkinter to display html

    Hi all,

    I prefer using tkinter to wxpython (so sue me :) and i need to display a
    lot of html in a particular app. does anyone know if one of the existing
    add on tk html widgets have been wrapped for tkinter already?

    TIA for any reply,
    Stephen
  • kyosohma@gmail.com

    #2
    Re: using tkinter to display html

    On Apr 19, 6:29 am, "Stephen M. Gava" <elgua...@users .sourceforge.ne t>
    wrote:
    Hi all,
    >
    I prefer using tkinter to wxpython (so sue me :) and i need to display a
    lot of html in a particular app. does anyone know if one of the existing
    add on tk html widgets have been wrapped for tkinter already?
    >
    TIA for any reply,
    Stephen
    The following thread has various ideas in it:


    I know wxpython has widgets specifically made to display html or even
    wrap Internet Explorer, ActiveX and more.

    Good luck!

    Mike

    Comment

    • Stephen M. Gava

      #3
      Re: using tkinter to display html

      On Thu, 19 Apr 2007 06:09:33 -0700, kyosohma wrote:
      On Apr 19, 6:29 am, "Stephen M. Gava" <elgua...@users .sourceforge.ne t>
      wrote:
      >Hi all,
      >>
      >I prefer using tkinter to wxpython (so sue me :) and i need to display
      >a lot of html in a particular app. does anyone know if one of the
      >existing add on tk html widgets have been wrapped for tkinter already?
      >>
      >TIA for any reply,
      >Stephen
      >
      The following thread has various ideas in it:
      http://mail.python.org/pipermail/pyt...er/107989.html
      thanks mike, i found that thread before i posted here, it doesn'rt answer
      my question though.
      >
      I know wxpython has widgets specifically made to display html or even
      wrap Internet Explorer, ActiveX and more.
      yeah. i feel like i'm being forced to use wxwidgets/wxpython just because
      i need pretty good html display though.

      oh well.

      stephen.
      >
      Good luck!
      >
      Mike

      Comment

      • Glenn Hutchings

        #4
        Re: using tkinter to display html

        On 20 Apr, 02:54, "Stephen M. Gava" <elgua...@users .sourceforge.ne t>
        wrote:
        yeah. i feel like i'm being forced to use wxwidgets/wxpython just because
        i need pretty good html display though.
        You could always use a real web browser:

        import webbrowser
        webbrowser.open _new("index.htm l")

        Glenn

        Comment

        • Rob Wolfe

          #5
          Re: using tkinter to display html


          Stephen M. Gava wrote:
          On Thu, 19 Apr 2007 06:09:33 -0700, kyosohma wrote:
          >
          On Apr 19, 6:29 am, "Stephen M. Gava" <elgua...@users .sourceforge.ne t>
          wrote:
          Hi all,
          >
          I prefer using tkinter to wxpython (so sue me :) and i need to display
          a lot of html in a particular app. does anyone know if one of the
          existing add on tk html widgets have been wrapped for tkinter already?
          >
          TIA for any reply,
          Stephen
          The following thread has various ideas in it:
          http://mail.python.org/pipermail/pyt...er/107989.html
          >
          thanks mike, i found that thread before i posted here, it doesn'rt answer
          my question though.
          Why not? Did you try to use tkhtml [1]_ with python wrapper [2]_.
          IMHO it works pretty nice.

          ... [1] http://www.hwaci.com/sw/tkhtml/
          ... [2] http://tix.sourceforge.net/Tixapps/src/Python/TkHtml.py

          --
          HTH,
          Rob

          Comment

          • Kevin Walzer

            #6
            Re: using tkinter to display html

            Stephen M. Gava wrote:
            Hi all,
            >
            I prefer using tkinter to wxpython (so sue me :) and i need to display a
            lot of html in a particular app. does anyone know if one of the existing
            add on tk html widgets have been wrapped for tkinter already?
            >
            TIA for any reply,
            Stephen
            PySol has an HTML viewer. Here's a link to some discusison about it:



            PySol is GPL, so if your application is also GPL, then it might be an
            option.

            --
            Kevin Walzer
            Code by Kevin

            Comment

            • Stephen M. Gava

              #7
              Re: using tkinter to display html

              On Fri, 20 Apr 2007 03:28:22 -0700, Rob Wolfe wrote:
              The following thread has various ideas in it:
              http://mail.python.org/pipermail/pyt...er/107989.html
              >>
              >thanks mike, i found that thread before i posted here, it doesn'rt
              >answer my question though.
              >
              Why not? Did you try to use tkhtml [1]_ with python wrapper [2]_. IMHO
              it works pretty nice.
              i found the tkhtml page but it hasn't been updated since 2002 and the
              mailing list doesn't even exist anymore. so unsure of the future on that.
              didn't find these bindings though, so thanks, i'll have a play.

              stephen.

              Comment

              • Stephen M. Gava

                #8
                Re: using tkinter to display html

                On Fri, 20 Apr 2007 09:45:16 -0400, Kevin Walzer wrote:
                PySol has an HTML viewer. Here's a link to some discusison about it:
                >
                http://mail.python.org/pipermail/tkinter-discuss/2006-
                January/000614.html
                >
                PySol is GPL, so if your application is also GPL, then it might be an
                option.
                thanks kevin, i already use a derivative of that code in another app :) ,
                but i need table and other stuff this time.

                stephen.
                >

                Comment

                • Stephen M. Gava

                  #9
                  Re: using tkinter to display html

                  On Thu, 19 Apr 2007 23:42:49 -0700, Glenn Hutchings wrote:
                  On 20 Apr, 02:54, "Stephen M. Gava" <elgua...@users .sourceforge.ne t>
                  wrote:
                  >yeah. i feel like i'm being forced to use wxwidgets/wxpython just
                  >because i need pretty good html display though.
                  >
                  You could always use a real web browser:
                  >
                  import webbrowser
                  webbrowser.open _new("index.htm l")
                  >
                  Glenn
                  yep, thnx glen, but need the html display windo to be more a part of the
                  app than that.

                  stephen.

                  Comment

                  • Kevin Walzer

                    #10
                    Re: using tkinter to display html

                    Stephen M. Gava wrote:
                    On Fri, 20 Apr 2007 03:28:22 -0700, Rob Wolfe wrote:
                    >>>The following thread has various ideas in it:
                    >>>http://mail.python.org/pipermail/pyt...er/107989.html
                    >>thanks mike, i found that thread before i posted here, it doesn'rt
                    >>answer my question though.
                    >Why not? Did you try to use tkhtml [1]_ with python wrapper [2]_. IMHO
                    >it works pretty nice.
                    >
                    i found the tkhtml page but it hasn't been updated since 2002 and the
                    mailing list doesn't even exist anymore. so unsure of the future on that.
                    >>
                    didn't find these bindings though, so thanks, i'll have a play.
                    >
                    stephen.
                    >
                    TkHTML:



                    --
                    Kevin Walzer
                    Code by Kevin

                    Comment

                    • Stephen M. Gava

                      #11
                      Re: using tkinter to display html

                      On Sat, 21 Apr 2007 09:57:09 -0400, Kevin Walzer wrote:
                      Stephen M. Gava wrote:
                      >On Fri, 20 Apr 2007 03:28:22 -0700, Rob Wolfe wrote:
                      >>>>The following thread has various ideas in it:
                      >>>>http://mail.python.org/pipermail/python-list/2001-
                      October/107989.html
                      >>>thanks mike, i found that thread before i posted here, it doesn'rt
                      >>>answer my question though.
                      >>Why not? Did you try to use tkhtml [1]_ with python wrapper [2]_. IMHO
                      >>it works pretty nice.
                      >>
                      >i found the tkhtml page but it hasn't been updated since 2002 and the
                      >mailing list doesn't even exist anymore. so unsure of the future on
                      >that.
                      >>>>
                      >didn't find these bindings though, so thanks, i'll have a play.
                      >>
                      >stephen.
                      >>
                      TkHTML:
                      >
                      http://tkhtml.tcl.tk
                      ah ok, thanks. i did find this but thought it was unrelated to the widget
                      metionned on the old hwaci.com page and that there weren't any existing
                      tkinter bindings for this project.

                      so the tix.sourceforge .net bindings are for this up to date widget,
                      including the current V3 that supports css and such? (thinking aloud,
                      i'll check that out myself.)

                      thanks mate,
                      stephen.
                      >

                      Comment

                      Working...