html ui + py background? any tut?

2009-05-23 Thread oyster
I have read for many times that the modern appliaction (not a web one,
but desktop on) uses html + js for its UI, and python code is for the
background work
but I have never found event a simple (yet completed) article on how
to develop such a thing from scrach in these advocacy thing.

Can anyone point out some simple, can-be-followed tutorial on such
thing especially for windows os?

thanx
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: html ui + py background? any tut?

2009-05-23 Thread David Lyon

Hi,

I don't know any tutorial either...

At work, we have made gui apps using wxpython to make the gui...

wxpython has html viewer component...

you can use Cheetah or another template engine to make the
html...

It's pretty easy and effective...

David


On Sat, 23 May 2009 15:48:38 +0800, oyster lepto.pyt...@gmail.com wrote:
 I have read for many times that the modern appliaction (not a web one,
 but desktop on) uses html + js for its UI, and python code is for the
 background work
 but I have never found event a simple (yet completed) article on how
 to develop such a thing from scrach in these advocacy thing.
 
 Can anyone point out some simple, can-be-followed tutorial on such
 thing especially for windows os?
 
 thanx
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: html ui + py background? any tut?

2009-05-23 Thread Дамјан Георгиевски


 I have read for many times that the modern appliaction (not a web one,
 but desktop on) uses html + js for its UI, and python code is for the
 background work
 but I have never found event a simple (yet completed) article on how
 to develop such a thing from scrach in these advocacy thing.
 
 Can anyone point out some simple, can-be-followed tutorial on such
 thing especially for windows os?

That's very very simple to do with PyQt and Qts Webkit. You can export 
Python objects to the HTML/JS application running in Webkit.

You'll just need to read the Qt Webkit documentation to see how it's all 
done.

This is actually a very good strategy for new apps, you can easily make 
them skinable with  html/js skins for ex.



-- 
дамјан ( http://softver.org.mk/damjan/ )

Well when _I_ was in school, I had to run Netscape on HP/UX, displayed 
on my local X Server running on a Windows 3.1 box. Displayed over a 2400 
baud modem. Uphill. Both ways. In the rain. With NOBODY to hold my 
hands. Because the life of the geek is a lonely life.
- aclarke on /.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: html ui + py background? any tut?

2009-05-23 Thread Stefaan Himpe

Perhaps you want to investigate
pyjamas[1] and pyjamas-desktop[2]

[1] http://pyjs.org/
[2] http://pyjd.sourceforge.net/

Best regards,
Stefaan.
--
http://mail.python.org/mailman/listinfo/python-list


Re: html ui + py background? any tut?

2009-05-23 Thread Stefaan Himpe

Or maybe you are looking for something like nufox?
http://nufox.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list