[Twisted-Python] Is twisted the right tool for this job?

David Pratt fairwinds at eastlink.ca
Sun Jul 16 09:43:48 MDT 2006


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




More information about the Twisted-Python mailing list