pyjamas-desktop running under python 2.6... on wine (!)

2012-04-19 Thread lkcl
i think this is so hilarious and just such a stunning achievement by the wine team that i had to share it with people. the writeup's here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=25765 but, to summarise: * python2.6 runs under wine (the win32 emulator) * so does python-comty

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
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

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
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, biofob...@gmail.com wrote: >> >> > I am new to python and only have read the Byte of Python ebook, but want >> > to move to the web

Re: Framework for a beginner

2012-04-18 Thread lkcl
On Apr 11, 9:11 pm, biofob...@gmail.com wrote: > I am new to python and only have read the Byte of Python ebook, but want to > move to the web. I am tired of being a CMS tweaker and after I tried python, > ruby and php, the python language makes more sense (if that makes any "sense" > for the r

Re: Framework for a beginner

2012-04-18 Thread lkcl
On Apr 17, 9:54 am, Bryan wrote: > If by rebuilding your portfolio you mean to position yourself for a > job, then popularity counts a lot. As measured by job openings, Django > is king. yeah i can attest to that. i never get the jobs, though :) -- http://mail.python.org/mailman/listinfo/pyth

Re: Pyjamas 0.8.1~+alpha1 released

2012-04-18 Thread lkcl
Terry randomly wrote: > > Pyjamas is slowly converting to running its own infrastructure using pyjamas > > applications (which also operate as Desktop applications). This includes: > > > > * http://pyjs.org/pygit/ - a git repository viewer using python-git > seems to work fine yaay. thanks fo

Re: GUIs - a modest proposal

2012-04-08 Thread lkcl
On Mar 2, 6:42 am, lkcl wrote: >  ah.  right.  you're either referring to pyjampiler (in the pyjs > world) or to > [...] >  the former actually got taken to an extreme by a group who embedded >  the pyjs 0.5 compiler into their application environment, i keep > forgett

Re: GUIs - a modest proposal

2012-03-01 Thread lkcl
folks hi, apologies for picking this up so late - it's only when i find these things through random searches that i encounter the occasional post. At some point wa in the distant past, g4b wrote: > On the subject of the gui discussion mentioned here last year, > which you get lead to if you r

Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico wrote: > Random rant and not very on-topic. Feel free to hit Delete and move on. > > I've just spent a day coding in Javascript, and wishing browsers > supported Python instead (or as well). All I needed to do was take two ok your next best thing is to try pyja

Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico wrote: > But if anyone feels like writing an incompatible browser, please can > you add Python scripting? http://wiki.python.org/moin/WebBrowserProgramming already been done, chris - you want the firefox plugin, pyxpcomext and then if you actually want to ma

Re: Python for Web

2011-07-24 Thread lkcl
On Jun 15, 1:11 pm, "bruno.desthuilli...@gmail.com" wrote: > On Jun 15, 9:50 am, sidRo wrote: > > > Is Python only for server side? > > Is it a theoretical question or a practical one ?-) > > More seriously: except for the old proof-of-concept Grail browser, no > known browser uses Python as a cl

Re: I am fed up with Python GUI toolkits...

2011-07-24 Thread lkcl
On Jul 20, 3:34 am, Terry Reedy wrote: > On 7/19/2011 10:12 PM, sturlamolden wrote: > > > > > What is wrong with them: > > > 1. Designed for other languages, particularly C++, tcl and Java. > > > 2. Bloatware. Qt and wxWidgets are C++ application frameworks. (Python > > has a standard library!) >

Re: pyjamas 0.8alpha1 release

2011-05-19 Thread lkcl
On May 18, 11:02 pm, Terry Reedy wrote: > On 5/18/2011 5:24 AM, lkcl wrote: > > There seem to be two somewhat separate requirement issues: the > interpreter binary and the language version. yes. [with the startling possibility of compiling the entire pyjs compiler into javascript a

python2+3

2011-05-19 Thread lkcl
[changing subject, seems a good idea...] On May 19, 2:13 am, Terry Reedy wrote: > On 5/18/2011 9:42 AM, lkcl wrote: > > >   he's got a good point, terry.  breaking backwards-compatibility was a > > completely mad and incomprehensible decision. > > I see that I s

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 17, 5:38 pm, harrismh777 wrote: > is recompiled everything still works... not so in Python. The fact that > Python is free to morph gleely from PEP to PEP without responsibility or > accountability with the user base is what may kill Python, unless the > Python community gets a grip on thi

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 18, 10:24 am, lkcl wrote: > > >   otherwise please - really: just saying "give me support for python > > > 3.x or else" is ... > > > And I did not say that. > >  yeah i know - i'm sorry: it just, with a little bit of "twisting",

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 18, 6:29 am, harrismh777 wrote: > Terry Reedy wrote: > > > No, because I think you are exaggerating.  That said, I think core > > Python is pretty close to 'complete' and I would not mind further syntax > > freezes like the one for 3.2. > > I am exaggerating only to the extent that someone

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 18, 2:33 am, Terry Reedy wrote: > On 5/17/2011 12:07 PM, lkcl wrote: > > > On May 4, 7:37 pm, Terry Reedy  wrote: > >> On 5/4/2011 10:06 AM, Luke Kenneth Casson Leighton wrote: > >>> pyjamasis a suite of projects, including a python-to-javascript >

Re: pyjamas 0.8alpha1 release

2011-05-17 Thread lkcl
On May 4, 7:37 pm, Terry Reedy wrote: > On 5/4/2011 10:06 AM, Luke Kenneth Casson Leighton wrote: > > > after a long delay thepyjamasproject -http://pyjs.org- has begun the > > 0.8 series of releases, beginning with alpha1: > > >https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ > > >pyja

Re: pywebkit - python bindings for webkit DOM (alpha)

2010-10-08 Thread lkcl
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

[ANN] pywebkit - python bindings for webkit DOM (alpha)

2010-10-07 Thread lkcl
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

[ANN] pywebkit - python bindings for webkit DOM (alpha)

2010-10-07 Thread lkcl
From: l...@lkcl.net To: python-list@python.org 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

fairly urgent request: paid python (or other) work required

2010-09-01 Thread lkcl
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

Re: multitask http server (single-process multi-connection HTTP server)

2010-07-15 Thread lkcl
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

Re: grailbrowser now running under python 2.5 (probably above too)

2010-07-14 Thread lkcl
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

Re: grailbrowser now running under python 2.5 (probably above too)

2010-07-14 Thread lkcl
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

Re: multitask http server (single-process multi-connection HTTP server)

2010-07-12 Thread lkcl
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

multitask http server (single-process multi-connection HTTP server)

2010-07-12 Thread lkcl
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

python ctypes to int main(int argc, char *argv[])

2010-07-01 Thread lkcl
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

Re: Should I Learn Python or Ruby next?

2010-06-22 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-15 Thread lkcl
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

Re: python XMLHttpRequest

2010-06-14 Thread lkcl
>  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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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

python XMLHttpRequest

2010-06-14 Thread lkcl
>  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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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.

Re: Will and Abe's "Guide to Pyjamas"

2010-06-14 Thread lkcl
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

Will and Abe's "Guide to Pyjamas"

2010-06-14 Thread lkcl
>  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://

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
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.  

pyqt4 vs pygtk2 vs pyjamas (was: GUIs - A Modest Proposal)

2010-06-14 Thread lkcl
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

Re: WebBrowserProgramming [was: GUIs - A Modest Proposal]

2010-06-14 Thread lkcl
On Jun 13, 4:52 pm, a...@pythoncraft.com (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

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: WebBrowserProgramming [was: GUIs - A Modest Proposal]

2010-06-12 Thread lkcl
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

Re: safer ctype? (was GUIs - A modest Proposal)

2010-06-12 Thread lkcl
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

Re: Python ctypes / pywin32 [was: GUIs - A Modest Proposal]

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: safer ctype? (was GUIs - A modest Proposal)

2010-06-12 Thread lkcl
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

WebBrowserProgramming [was: GUIs - A Modest Proposal]

2010-06-12 Thread lkcl
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

Python ctypes / pywin32 [was: GUIs - A Modest Proposal]

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
> 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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.

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
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

pyjsglade: GTK-glade-like UI builder for pyjamas

2010-06-11 Thread lkcl
https://sourceforge.net/projects/pyjsglade/ kees bos, the primary programmer who added all of the incredible python features to the pyjs compiler, such as support for yield, long data type and much more, has just started a project "pyjsglade". its purpose is the same as that of GTK glade: allow d

Re: historic grail python browser "semi-recovered"

2010-06-10 Thread lkcl
On Jun 10, 6:17 pm, MRAB wrote: > lkcl wrote: > > On Jun 9, 11:03 pm, rantingrick wrote: > >> On Jun 9, 4:29 pm, lkcl wrote: > > >>> um, please don't ask me why but i foundgrail, the python-based web > >>>browser, and have managed to hack it i

Re: historic grail python browser "semi-recovered"

2010-06-10 Thread lkcl
On Jun 9, 11:03 pm, rantingrick wrote: > On Jun 9, 4:29 pm, lkcl wrote: > > > um, please don't ask me why but i foundgrail, the python-based web > >browser, and have managed to hack it into submission sufficiently to > > view e.g.http://www.google.co.uk.  out

Re: historic grail python browser "semi-recovered"

2010-06-10 Thread lkcl
On Jun 9, 10:58 pm, Thomas Jollans wrote: > give us a copy then, just for the laughs. ^^ Post it on bitbucket, > maybe? (or send me a copy and I'll do it) http://github.com/lkcl/grailbrowser remember it only works on python2.4 or less right now! -- http://mail.python.org/mailm

Re: historic grail python browser "semi-recovered"

2010-06-10 Thread lkcl
On Jun 9, 11:03 pm, rantingrick wrote: > On Jun 9, 4:29 pm, lkcl wrote: > > > um, please don't ask me why but i foundgrail, the python-based web > >browser, and have managed to hack it into submission sufficiently to > > view e.g.http://www.google.co.uk.  out

Re: historic grail python browser "semi-recovered"

2010-06-09 Thread lkcl
On Jun 9, 9:29 pm, lkcl wrote: > if anyone else would be interested in resurrecting this historic ... "historic, archaic, dinosaur-driven, vastly-overrated but one-of- a-kind and without precedent before or since" web browser... l. p.s. except for paul bonser's &quo

historic grail python browser "semi-recovered"

2010-06-09 Thread lkcl
um, please don't ask me why but i found grail, the python-based web browser, and have managed to hack it into submission sufficiently to view e.g. http://www.google.co.uk. out of sheer apathy i happened to have python2.4 still installed which was the only way i could get it to run without having t

Re: is there a way to warn about missing modules *without* running python?

2010-06-09 Thread lkcl
On Jun 5, 2:16 pm, Steven D'Aprano wrote: > Neither Python, nor Javascript (as far as I know -- I welcome > corrections) do static linking. for the command-line versions of javascript such as spidermonkey, i believe that a keyword/function is dropped into the global namespace - "load", which tak

Re: is there a way to warn about missing modules *without* running python?

2010-06-09 Thread lkcl
On Jun 5, 7:24 pm, Terry Reedy wrote: > On 6/5/2010 9:42 AM, lkcl wrote: > > > if someone could perhaps explain this (in a different way from me), in > > the context of "python the programming language" and "python the > >http://python.orginterpreter&

is there a way to warn about missing modules *without* running python?

2010-06-05 Thread lkcl
folks, hi, although i know the answer to this question, i'm having difficulty explaining it, to a user on the pyjamas list. i was therefore wondering if somebody could also provide an answer, on this list, to which i can refer the user. to make it clear: the user is confused as to why the pyjama

Re: Python is cool!!

2010-05-10 Thread lkcl
On Mar 23, 4:55 pm, Jose Manuel wrote: > I have been learning Python, and it is amazing I am using the > tutorial that comes with the official distribution. > > At the end my goal is to develop applied mathematic in engineering > applications to be published on the Web, specially on app. orie

Re: Python is cool!!

2010-05-08 Thread lkcl
On Mar 25, 3:01 pm, Bruno Desthuilliers wrote: > Jose Manuel a écrit : > > > I have been learning Python, and it is amazing I am using the > > tutorial that comes with the official distribution. > > > At the end my goal is to develop applied mathematic in engineering > > applications to be pu

Re: pyjamas 0.7 released

2010-05-07 Thread lkcl
On May 2, 7:16 am, Wolfgang Strobl wrote: > lkcl : > > > at least _some_ input would be good!  the knowledge doesn't have to > >be there: just the bugreports saying "there's a problem and here's > >exactly how you reproduce it" would be a start!

Re: pyjamas 0.7 released

2010-04-29 Thread lkcl
On Apr 29, 6:37 am, Wolfgang Strobl wrote: > Look at it from the point of view of people walking by, trying to decide > whether they should invest some of their time into digging into yet > another framework and library. yes. _their_ time - not mine. the pyjamas project has always been done on

Re: pyjamas 0.7 released

2010-04-28 Thread lkcl
On Apr 28, 7:00 am, Wolfgang Strobl wrote: > lkcl : > > > > > > >On Apr 25, 9:37 pm, Wolfgang Strobl wrote: > >> Daniel Fetchinson : > > >> >> for fits and giggles, to show what's possible in only 400 > >> >> lines of pyth

Re: pyjamas 0.7 released

2010-04-27 Thread lkcl
On Apr 26, 11:25 pm, Patrick Maupin wrote: > On Apr 26, 4:12 pm, lkcl wrote: > > >  and, given that you can use AJAX (e.g. JSONRPC) to communicate with a > > server-side component, installed on 127.0.0.1 and effectively do the > > exact same thing, nobody bothers. > &

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 6:52 pm, Patrick Maupin wrote: > On Apr 26, 8:44 am, lkcl wrote: > > >  the purpose of browsers is to isolate the application, restrict its > > access to the rest of the desktop and OS, so that random applications > > cannot go digging around on your private

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 9:37 pm, Wolfgang Strobl wrote: > Daniel Fetchinson : > > >> for fits and giggles, to show what's possible in only 400 > >> lines of python, here is a game of asteroids, written by joe rumsey. > >> yes, it runs underpyjamas-desktop too. > > >>    http://pyjs.org/examples/asteroids/publi

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 8:38 pm, Patrick Maupin wrote: > On Apr 25, 8:49 am, Luke Kenneth Casson Leighton > wrote: > > >pyjamas- the stand-alone python-to-javascript compiler, and separate > > GUI Widget Toolkit, has its 0.7 release, today.  this has been much > > delayed, in order to allow the community plen

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 12:45 pm, Jean-Michel Pichavant wrote: > Luke Kenneth Casson Leighton wrote: > > > [snip] > > Am I the only one getting this error ? yes, because you're the only one using easy_install. you'll need to read and follow the instructions in README and INSTALL.txt the installation proce

Re: Interacting With Another Script

2010-04-25 Thread lkcl
On Mar 11, 2:16 am, alex23 wrote: > Victor Subervi wrote: > > > There's a program (vpopmail) that has commands which, when called, request > > > input ("email address", "password", etc.) from the command line. I would > > > like to build a TTW interface for my clients to use that interacts with >

Re: (snmp code) perl to python

2010-04-25 Thread lkcl
On Apr 25, 9:41 am, Shabbir Ahmed wrote: > hi hope all are doing good, i have code written in perl which quries > too many devices and then stores the result in mysqldb, whiel shifting > to python and googling i heared of and studied google asynch python > code, now i wanted to use it n convert my

Re: look at the google code

2010-02-22 Thread lkcl
On Feb 19, 10:41 am, Allison Vollmann wrote: > http://code.google.com/p/pyjamas/ > > Last update from yesterday, is the same project? only the tarballs are maintained on there, and the wiki and the issue tracker. we couldn't get control of that site for quite some time so started using sourcefo

Re: What happened to pyjamas?

2010-02-22 Thread lkcl
On Feb 19, 2:43 pm, John Pinner wrote: > It appears that, in trying to cut down spm, somone chahnged a DNS > entry and screwed it up : it shouldbe back before long. yep. i've now got access to the web interface for the dns whois records. they got poo'd up (only one entry) and then the person w

Re: Newbie advice

2009-11-10 Thread lkcl
On Oct 29, 7:00 am, alex23 wrote: > However, if you're already comfortable with HTML/CSS, I'd recommend > taking a look atPyjamas, which started as a port of the Google Web > Toolkit, taking Python code and compiling it into javascript. The > associated project,Pyjamas-Desktop, is a webkit-based

Re: imputil.py, is this a bug ?

2009-11-07 Thread lkcl
On Nov 7, 2:20 am, "Gabriel Genellina" wrote: > Yes, seems to be a bug. But given the current status of imputil, it's not > likely to be fixed; certainly not in 2.5 which only gets security fixes > now. well, that bug's not the only one. the other one that i found, which i have been specificall

Re: some site login problem help plz..

2009-10-12 Thread lkcl
On Oct 5, 8:26 am, "Diez B. Roggisch" wrote: > james27 wrote: > > > hello.. > > im new to python. > > i have some problem with mechanize. > > before i was used mechanize with no problem. > > but i couldn't success login with some site. > > for several days i was looked for solution but failed. > >

Re: AJAX Widget Framework

2009-10-12 Thread lkcl
On Oct 1, 6:01 pm, Laszlo Nagy wrote: > I'm looking for an open source, AJAX based widget/windowing framework. > Here is what I need: > > - end user opens up a browser, points it to a URL, logs in > - on the server site, sits my application, creating a new session for > each user that is logged in

Re: recommendation for webapp testing?

2009-09-23 Thread lkcl
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

Re: pyjamas pyv8run converts python to javascript, executes under command-line

2009-09-20 Thread lkcl
On Sep 20, 12:05 am, exar...@twistedmatrix.com 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

Re: pyjamas pyv8run converts python to javascript, executes under command-line

2009-09-20 Thread lkcl
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

Re: can python make web applications?

2009-09-18 Thread lkcl
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

Re: can python make web applications?

2009-09-18 Thread lkcl
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

[ANN] pyjamas pyv8run converts python to javascript, executes under command-line

2009-09-18 Thread lkcl
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

  1   2   >