i ported pyjamas, which was a web-only/browser-only
UI toolkit, to the desktop. it's a _real_ eye-opener to try to use
the "failed" ports of pyjamas to both pygtk2 and pyqt4, which you can
still get at http://github.com/lkcl/pyjamas-desktop - see pyjd-pyqt4
and pyjd-pygtk2
these fai
On Jun 6, 10:49 pm, Kevin Walzer wrote:
> > - Pythonic
> > - The default GUI (so it replaces Tkinter)
> > - It has the support of the majority of the Python community
> > - Simple and obvious to use for simple things
> > - Comprehensive, for complicated things
> > - Cross-platform
> > - Looks good
On Jun 6, 10:55 pm, ant wrote:
> On Jun 6, 2:22 pm, ant wrote:> I get the strong feeling
> that nobody is really happy with the state of
> > Python GUIs.
>
>
>
> What an interesting set of responses I got!
> And - even more interesting - how few of them actually seem to think
> there is a probl
On Jun 7, 9:25 pm, Arndt Roger Schneider
wrote:
> Terry Reedy schrieb:
> Forget postscript!
> Generate SVG from a tk canvas or --better-- from tkpath.
> Jeszra (from me) generates SVG. There is also a SVG export
... orr, you use a modern web browser engine such as XulRunner 1.9
(the engine behi
On Jun 9, 5:12 am, rantingrick wrote:
> But you know i think it boils down to fear really. He is comfortable
> in his life and wishes to keep it as cookie cutter as he can. Any
> outside influence must be quashed before these meddling forces can
> take hold of him. He is so fearful of seeing the l
On Jun 9, 8:45 am, Lie Ryan wrote:
> On 06/09/10 08:20, Martin P. Hellwig wrote:
> > I do think it is technically possible to have your own window manager in
> > python on x11 but I have no idea if you have equal possibilities on mac
>
> Doesn't Mac uses an X server as well?
not by default, no.
On Jun 9, 11:16 am, ant wrote:
> And who are the beginning programmers going to turn into? If we do our
> stuff right, Python programmers. If not,
> Java or PHP or Visual Basic programmers. Or website designers. Or
> worse (is there a worse?).
yes - Java programmers who use COM under Win32 to c
On Jun 9, 5:16 pm, Ethan Furman wrote:
> Gregory Ewing wrote:
> > Kevin Walzer wrote:
> >> PyGUI ... certainly is *not* a lightweight GUI toolkit that could
> >> easily be incorporated into the Python core library--it instead has
> >> rather complex dependencies on both other GUI toolkits and Pyth
On Jun 9, 5:38 pm, rantingrick wrote:
> Yes we need a leader. Someone who is not afraid of the naysayers.
> Someone with Guido's vision. When the leader emerges, the people will
> rally.
... Mahh? Whey'rus ma guuhhn? haww haww
:)
--
http://mail.python.org/mailman/listinfo/python-list
> That's the reason why it won't happen. Everybody asking for change is
> not willing to lead the effort. Everybody who would be able and might be
> willing to lead the change fails to see the need for change.
*lol*. i don't know why, but i think that's so hilarious i might
make it my .sig. it
On Jun 10, 6:26 pm, "Martin v. Loewis" wrote:
> >> or PyGui would need to be implemented in terms of ctypes (which then
> >> would prevent its inclusion, because there is a policy that ctypes
> >> must not be used in the standard library).
>
> > Is there? I wasn't aware of that. What's the reason
On Jun 10, 6:56 pm, Stephen Hansen wrote:
> For example: if you want to embed a CSS-capable web-browser into your
> app? PyQT is actually your best option-- albeit a commercial one if
> you're not open source.. wx/Python haven't yet finished WebKit
> integration(*).
there are _lots_ other optio
On Jun 12, 8:11 am, "Martin v. Loewis" wrote:
> > Got me thinking, is it perhaps doable to have a 'safe' ctype that is
> > guaranteed to be in the stdlib? Perhaps crippling it in a sense that it
> > only allows a known set of functions to be called?
>
> In some sense, a C module wrapping a select
On Jun 12, 3:07 pm, Kevin Walzer wrote:
> On 6/12/10 9:44 AM, lkcl wrote:
>
> > that's not quite true - you can create a simple core which is easily
> > extensible with third party contributions to create more comprehensive
> > widgets.
>
> That's exac
On Jun 12, 5:56 pm, Robert Kern wrote:
> > just because a library has a means for programmers to shoot
> > themselves in the foot doesn't mean that the programming language
> > should come with kevlar-reinforced bullet-proof vests.
>
> That's exactly why it's *in* the standard library, but also
On Jun 12, 6:05 pm, Stephen Hansen wrote:
> On 6/12/10 9:55 AM, lkcl wrote:
>
> > On Jun 12, 8:11 am, "Martin v. Loewis" wrote:
> >> Notice that it's not (only) the functions itself, but also the
> >> parameters. It's absolutely easy to crash Pyt
On Jun 12, 6:14 pm, Stephen Hansen wrote:
> On 6/12/10 9:20 AM, lkcl wrote:
>
> > there are _lots_ other options that i know of. here are three of the
> > best:
> > [list of browser engines cut for brevity]
>
> Although I didn't state it or even hint at
On Jun 12, 7:29 pm, Terry Reedy wrote:
> On 6/12/2010 9:26 AM, lkcl wrote:
>
> > [ye gods, i think this is the largest thread i've ever seen,
>
> For python-list, it is possibly the longest this year, but definitely
> not of all time ;-)
oh dearie me...
> > y
On Jun 13, 3:34 am, Gregory Ewing wrote:
> lkcl wrote:
> > * in neither gtk nor qt does there exist an "auto-layout" widget
> > that's equivalent to putting some DOM objects into a ,
> > to "flow" widgets that wrap around.
>
> You essentiall
On Jun 13, 9:01 am, Jeremy Sanders wrote:
> lkcl wrote:
> > * in neither gtk nor qt does there exist an "auto-layout" widget
> > that's equivalent to putting some DOM objects into a ,
> > to "flow" widgets that wrap around. yes, you can put words
On Jun 13, 3:52 pm, Arndt Roger Schneider
wrote:
> lkcl schrieb:
>
> > [snip]
>
> > it's the exact same thing for SVG image file-format. i'm
> >_definitely_ not convinced that "SVG the image fileformat" is The One
> >True Way to design im
On Jun 13, 4:52 pm, [email protected] (Aahz) wrote:
> In article ,
>
> lkcl wrote:
>
> > i'm recording all of these, and any other web browser manipulation
> >technology that i've ever encountered, here:
>
> >http://wiki.python.org/moin/WebB
On Jun 13, 3:43 pm, Michael Torrie wrote:
> On 06/13/2010 05:29 AM, lkcl wrote:
>
> > really? drat. i could have done with knowing that at the time.
> > hmmm, perhaps i will return to the pyqt4 port after all.
>
> We're now wandering well off-topic here, but then
On Jun 13, 2:34 pm, Stephen Hansen wrote:
> On 6/13/10 4:29 AM, lkcl wrote:
>
> > it's in fact how the entire pyjamas UI widget set is created, by
> > doing nothing more than direct manipulation of bits of DOM and direct
> > manipulation of the style properties.
> oh look - there's a common theme, there: "web technology equals
> useless" :)
this is getting sufficiently ridiculous, i thought it best to
summarise the discussions of the past few days, from the perspective
of four-year-olds:
http://pyjs.org/will_and_abe_guide_to_pyjamas.html
l.
--
http://
On Jun 14, 3:53 pm, lkcl wrote:
> this is getting sufficiently ridiculous, i thought it best to
> summarise the discussions of the past few days, from the perspective
> of four-year-olds:
not, of course, to imply in _any way_, that anyone but myself on
comp.lang.python is juveni
On Jun 14, 4:17 pm, Stephen Hansen wrote:
> >> Did you just call DOM manipulation simple with a straight face? I don't
> >> think I've ever seen that before.
>
> > *lol* - wait for it: see below. summary: once you start using high-
> > level widgets: yes. without such, yeah you're damn right.
On Jun 14, 5:57 pm, rantingrick wrote:
> On Jun 14, 11:17 am, Stephen Hansen wrote:
>
> > And the recursive flow of the DOM is powerful
>
> This style of speaking reminds me of our former hillbilly president
> (no not Clinton, he was the eloquent hillbilly!)
the one with an IQ of 185?
> No i a
On Jun 14, 5:57 pm, rantingrick wrote:
> I'll have to very much agree with this assessment Stephan. There
> exists not elegant API for these "web" UI's. The people over at
> SketchUp (my second love after python) have this problem on a daily
> bases with WebDialogs. Even the javascript gurus have
On Jun 14, 7:30 pm, Stephen Hansen wrote:
> On 6/14/10 11:47 AM, lkcl wrote:
>
> > On Jun 14, 4:17 pm, Stephen Hansen wrote:
> > yes. that's effectively what pyjs applications are about: as much
> > HTML/CSS as you can stand, then _absolute_ pure javascript from t
> all the methods by which you would have to deal with that GUI loop
> problem have to be asynchronous _anyway_... aaand, what the heck, why
> not just go with the flow and use the pyjamas.HTTPRequest or
> pyjamas.JSONService recommended services, neh?
sorry to be adding stuff after-the-fact, bu
On Jun 14, 7:30 pm, Stephen Hansen wrote:
> On 6/14/10 11:47 AM, lkcl wrote:
>
> > On Jun 14, 4:17 pm, Stephen Hansen wrote:
> > yes. that's effectively what pyjs applications are about: as much
> > HTML/CSS as you can stand, then _absolute_ pure javascript from t
> so they _had_ to put the glib/gobject bindings in, after all that
> effort spent fighting tooth and nail to prevent it... and not having
> access to the key developer who worked on it (because of censorship)
> it's been a bit of a bitch for them, and it's only about 80% complete,
> after 6 month
On Jun 14, 9:00 pm, Stephen Hansen wrote:
> On 6/14/10 1:00 PM, lkcl wrote:
> > what we typically recommend is that _even_ though you're going to run
> > the application "desktop" - as pure python - you still use JSONRPC [or
> > XmlHTTPRequest if JSONRPC is
On Jun 15, 2:47 pm, Steven D'Aprano wrote:
> On Tue, 15 Jun 2010 05:57:13 -0700, lkcl wrote:
> > to be honest, if you don't put any effort in to use the appropriate
> > "lovely-prettiness" panels you can end up with something truly "90s-
> > esqu
On Jun 15, 1:07 pm, superpollo wrote:
> mind you, i am no python expert, but i really look forward to seeing
> pyjamas in the stdlib :-) anytime soon?
*choke* :)
... weelll... let me answer that as if it's serious. you'd have to:
a) define http://python.org as including a javascript target
On Tue, Jun 22, 2010 at 6:58 PM, Josef Tupag
wrote:
> Before I really dive in, though, I'm curious to hear what others think about
> the choice between these two languages.
i think one good illustration is a story i heard from someone who had
learned a hell of a lot of programming languages, but
hi,
i need to convert an application (fontforge) to a python library.
yes, libfontforge is already done as is libgdraw (fontforge-pygtk) but
i need to make fontforge the _application_ a python application, using
the same ctypes trick that's already done.
my question is, therefore, how do i specif
for several reasons, i'm doing a cooperative multi-tasking HTTP
server:
git clone git://pyjs.org/git/multitaskhttpd.git
there probably exist perfectly good web frameworks that are capable of
doing this sort of thing: i feel certain that twisted is one of them.
however, the original author of rtm
On Jul 12, 9:52 pm, Gelonida wrote:
> Hi lkcl,
>
> Do you have any documentation or overview for your project?
git clone git://pyjs.org/git/multitaskhttpd.git
i only started it today, but yes, there's a README.
the primary reason it's being developed is because GNUmed ar
On Jul 11, 5:44 am, rantingrick wrote:
> On Jul 10, 10:59 pm, Luke Kenneth Casson Leighton
>
> wrote:
> > source at:http://github.com/lkcl/grailbrowser
>
> > $ python grail.py (note the lack of "python1.5" or "python2.4")
>
> > conversi
On Jul 11, 10:39 pm, "Martin P. Hellwig"
wrote:
> On 07/11/10 04:59, Luke Kenneth Casson Leighton wrote:> source at:
> >http://github.com/lkcl/grailbrowser
>
> > $ python grail.py (note the lack of "python1.5" or "python2.4")
>
> > c
On Jul 13, 12:00 pm, Luke Kenneth Casson Leighton
wrote:
> but... not being funny or anything, but basically i'm done already
> :)multitaskhttpdworks, it doesn't need stackless, i completed a JSONRPC
> service last night, i'll add POST of multi-part forms today, and i
> have everything that [GNU
On Jun 23, 10:59 pm, smartmobili wrote:
> I wanted to know if you have some patch to compile python 3.x on mingw
> platform because I found some
> but doesn't work very well :
you should compile a 2.N version.
despite efforts and proof that the efforts passed all but about 8-12
regression test
On Jul 20, 4:00 pm, [email protected] (Aahz) wrote:
> Out of curiosity, are there anyJavaScripttoolkits
or python-to-javascript compilers
> that generate code
> that degrades gracefully whenJavaScriptis disabled?
http://advogato.org/article/981.html
you'll need to do a little bit of work
On Jul 21, 12:55 pm, Paul Boddie wrote:
> On 20 Jul, 18:00, [email protected] (Aahz) wrote:
>
>
>
> > Out of curiosity, are there anyJavaScripttoolkits that generate code
> > that degrades gracefully whenJavaScriptis disabled?
>
> You mean "Web toolkits which useJavaScript", I presume. I have
>
On Jul 14, 11:31 pm, Chris Rebert wrote:
> On Tue, Jul 14, 2009 at 1:40 PM, Mohan Parthasarathy
> wrote:
> > Hi,
> > I am a newbie. I am reading
> >http://www.network-theory.co.uk/docs/pytut/KeywordArguments.html
> > Defining a function with "N" arguments and calling them in "M" different
> > way
i've just had to put something together for pyjamas-desktop which may
prove to be useful to other people, so i'm pointing people in its
general direction, for archive purposes.
the purpose behind the platform override system is to allow
implementations of a common API, in python, to share the majo
thought that people might like to know: i found also that imputil, the
standard python module, was lacking the necessary complexity in being
a substitute for the standard __import__ function.
the additions required were very simple:
# note the addition of level=-1 which is ignored
def _i
the excellent GWT Chart Library, GChart:
http://code.google.com/p/gchart/
is being ported to python, to run under the pyjamas [desktop / web]
widget set:
http://pyjamas.svn.sourceforge.net/viewvc/pyjamas/trunk/library/pyjamas/chart/
approximately 15 of the 30 examples and 1 of the 90 test
as part of the recent porting of GGhart to pyjamas, a massive
performance gain can be had by using SVG Canvas. unfortunately, that
meant porting GWTCanvas to pyjamas as well. this is also progressing
well:
http://pyjs.org/examples/gwtcanvas/
if anyone would like to help with the porting effort a
> been ported already, enough to show that the libray is in a mostly
> useable state, even after only three days. pie-charts are proving
> slightly problematic (as GChartExample24, which is a pie chart editor,
> shows).
fixed. demo at :
http://pyjs.org/examples/gcharttestapp/output/GChartTestAp
On Aug 16, 12:02 am, Mike Paul wrote:
> I'm trying to scrap a dynamic page with lot ofjavascriptin it.
> Inorder to get all the data from the page i need to access thejavascript. But
> i've no idea how to do it.
>
> Say I'm scraping some site htttp://www.xyz.com/xyz
>
> request=urllib2.Request("h
On Aug 15, 9:32 pm, Jaseem wrote:
> Hi,
>
> Is python similar to actionscript 3.0
> Which is better to create a rich gui internet application?
can i suggest that you read this:
http://www.javalobby.org/articles/ajax-ria-overview/
and then take a look at this:
http://pyjs.org
pyjamas pu
On Aug 16, 1:29 am, Douglas Alan wrote:
> > But both python and AS 3.0 is almost identical.
>
> No, Python and ActionScript are not "almost identical".
the AS 3.0 implementation is entirely missing declarative style of
programming: it is purely event-driven. i.e. you cannot get an AS 3.0
"comma
On Aug 16, 5:43 am, "Michel Claveau -
MVP" wrote:
> Hi!
>
> > Python doesn't run in your typical web browser
>
> Yes, Python can do it... on Windows.
and linux. pyxpcomext. it's a bit of a pig, but perfectly doable:
http://pyxpcomext.mozdev.org/tutorials.html
> Two (examples) ways:
> - Act
On Sep 6, 3:19 pm, lkcl wrote:
> On Aug 16, 1:29 am, Douglas Alan wrote:
> > I think the future of client-side browser programming is
> > actuallyJavaScript, not ActionScript, though that future may morph into one
> > that mostly usesJavaScriptas a virtual machine. This is
On Aug 21, 12:58 am, [email protected] (Aahz) wrote:
> In article
> <77715735-2668-43e7-95da-c91d175b3...@z31g2000yqd.googlegroups.com>,
>
> lkcl wrote:
>
> >if somebody would like to add this to the python bugtracker, as a
> >contribution, that would be grea
On Sep 6, 5:49 pm, Terry Reedy wrote:
> lkclwrote:
> > On Aug 21, 12:58 am, [email protected] (Aahz) wrote:
> >> In article
> >> <77715735-2668-43e7-95da-c91d175b3...@z31g2000yqd.googlegroups.com>,
>
> >>lkcl wrote:
>
> >>> if so
On Aug 31, 8:35 pm, André wrote:
> On Aug 31, 4:46 pm, kj wrote:
>
> > At work we want to implement a webapp using Google's GWT, and we're
> > debating whether to use the standard GWT approach with Java, or to
> > tryPyjamas. There's no great love here for Java, but there's the
> > concern thatP
On Aug 23, 3:12 pm, Deep_Feelings wrote:
> can python make powerfull database web applications that can replace
> desktop database applications? e.g: entrprise accounting
> programs,enterprise human resource management programs ...etc
with pyjamas, as mark mentioned previously - but what mark pe
just for fits and giggles and also because i'm getting fed up of using
web browsers as part of the pyjs development cycle instead of the
command-line, the pyjamas pyv8run.py has been brought back up-to-
scratch, and can now execute the pyjamas LibTest regression tests with
a 99.95% pass rate.
pyv8
On Sep 16, 7:02 pm, Paul Boddie wrote:
> On 16 Sep, 18:31, lkcl wrote:
>
>
>
> >http://pyjs.org/examples/timesheet/output/TimeSheet.html
>
> I get this error dialogue message when visiting the above page:
>
> "TimeSheet undefined list assignment index out of ra
On Sep 16, 7:02 pm, Paul Boddie wrote:
> On 16 Sep, 18:31, lkcl wrote:
>
>
>
> >http://pyjs.org/examples/timesheet/output/TimeSheet.html
>
> I get this error dialogue message when visiting the above page:
>
> "TimeSheet undefined list assignment index out of
On Sep 19, 8:36 pm, Daniel Fetchinson
wrote:
> >> the pyjamas project is taking a slightly different approach to achieve
> >> this same goal: beat the stuffing out of the pyjamas compiler, rather
> >> than hand-write such large sections of code in pure javascript, and
> >> double-run regression te
On Sep 20, 12:05 am, [email protected] wrote:
> Does pyjamas convert any Python program into a JavaScript program with
> the same behavior?
that's one of the sub-goals of the pyjamas project, yes.
> I don't intend to imply that it doesn't - I haven't
> been keeping up with pyjamas devel
On Sep 17, 8:19 am, Simon Brunning wrote:
> 2009/9/17 Schif Schaf :
>
> > What's the difference between WebDriver and Selenium?
>
> Selenium runs in a browser, and usesJavaScriptto perform all your
> automated actions. It need a browser running to work. Several are
> supported, Firefox, Safari, IE
i apologise for having to contact so many people but this is fairly
urgent, and i'm running out of time and options. i'm a free software
programmer, and i need some paid work - preferably python - fairly
urgently, so that i can pay for food and keep paying rent, and so that
my family doesn't get
From: [email protected]
To: [email protected]
i've been kindly sponsored by http://www.samurai.com.br to create
direct python bindings to webkit's DOM:
http://www.gnu.org/software/pythonwebkit/
the significance of this project is that it makes python a peer of
javascript when it comes to manipul
i've been kindly sponsored by http://www.samurai.com.br to create
direct python bindings to webkit's DOM:
http://www.gnu.org/software/pythonwebkit/
the significance of this project is that it makes python a peer of
javascript when it comes to manipulating HTML through DOM functions
(including gain
apologies for the 3 copies of the post: mail.python.org's SMTP service
was offline yesterday.
just a quick update: XMLHttpRequest support has been fixed today, and
the correct version of libsoup discovered which actually works. that
puts PythonWebkit into a "useful and useable" state, despite bei
On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote:
> On Wed, Apr 18, 2012 at 11:21 PM, lkcl wrote:
>>
>> On Apr 11, 9:11 pm, [email protected] wrote:
>>
>> > I am new to python and only have read the Byte of Python ebook, but want
>> > to move to the web
On Thu, Apr 19, 2012 at 1:21 PM, Alek Storm wrote:
> On Thu, Apr 19, 2012 at 7:12 AM, lkcl luke wrote:
>>
>> On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote:
>> > Why not use list comprehension syntax?
>>
>> because it's less characters to type, and
101 - 173 of 173 matches
Mail list logo