[Twisted-Python] Is twisted the right tool for this job?
Bob Ippolito
bob at redivi.com
Sun Jul 16 11:03:34 MDT 2006
It seems awfully stupid to use wxPython to draw up an IEHtmlWindow,
where Venster would do a better job of the same thing in probably the
same (or less) user code. Venster's only dependency is ctypes, so the
combination is a few *megabytes* smaller than wxPython. That means
the Venster based application would load *MUCH MUCH* faster (on the
order of several seconds), since we're talking about a CD here.
Neither wxPython nor Venster are cross-platform for embedding the IE
ActiveX control.
-bob
On Jul 16, 2006, at 8:43 AM, David Pratt wrote:
> Hi Bob. Please follow this up on the wxPython list to get help with
> wxPython. An IEHtmlWindow should give you what you need if you are
> wanting to display HTML in Windows with CSS. There is a recently
> published book on wxPython and good documentation on the wiki and
> in the source of the wxPython demo . It is capable gui, however you
> will not get far unless you do some reading to better understand
> its capabilities.
>
> Regards,
> David
>
> Bad Bob wrote:
>> While I understand the benefits of being cross platform, the
>> company I work for does not, nor do they care about it. If it
>> works well on Windows, they're happy. I actually wrote most of the
>> program in linux, and worked on the GUI in windows (emulated, of
>> course).
>> Also, when I tried wx's html component, it seems to have a few
>> problems. It doesn't support CSS, it doesn't show the images, and
>> it doesn't follow any links (perhaps it wants the links to be
>> http://.../page instead of /page?). Is there a gui system that
>> actually shows the html correctly in windows? (I don't use windows
>> much, so I'm not familer with this).
>> And Bob Ippolito; thanks for the tip.
>> -Robert
>> On 7/13/06, *David Pratt* <fairwinds at eastlink.ca
>> <mailto:fairwinds at eastlink.ca> > wrote:
>> You might want to consider wxPython for the gui also since it
>> is fairly
>> mature, stable and cross platform.
>> Regards,
>> David
>> Bad Bob wrote:
>> > Hi all.
>> >
>> > I'm writing a simple image archive program. The program is for
>> indexing
>> > a whole lot of pictures we sell on a CD. The focus of the
>> product
>> is on
>> > the pictures, not the viewer, so it's pretty simple; it just
>> shows the
>> > pictures, sorted by category's, resizes them to whatever
>> size the
>> user
>> > wants (with imagemagick), and searches though the collection.
>> >
>> > Right now, the program is using a Twisted webserver in the
>> backend. All
>> > the pages are dynamic, based off one template file. The gui
>> is a very
>> > simple Venster ( venster.sf.net <http://venster.sf.net>
>> <http://venster.sf.net>) frontend, mainly
>> > consisting of a web browser control, and some code to open a
>> file-save
>> > dialog when the user clicks save to save a picture.
>> >
>> > I'm wondering if there is a better way to do this. Perhaps
>> twisted is a
>> > bit too much for all of this? Another problem is when Twisted
>> opens up
>> > the server port, firewalls start complaining. Perhaps there
>> is a
>> better
>> > way. Also, if there is something better then venster for a
>> front end,
>> > I'd be glad to hear about that, too.
>> >
>> > -Robert
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> ---
>> >
>> > _______________________________________________
>> > Twisted-Python mailing list
>> > Twisted-Python at twistedmatrix.com
>> <mailto:Twisted-Python at twistedmatrix.com>
>> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-
>> python
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> <mailto:Twisted-Python at twistedmatrix.com>
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>> ---------------------------------------------------------------------
>> ---
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
More information about the Twisted-Python
mailing list