Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm alek.st...@gmail.com wrote: On Wed, Apr 18, 2012 at 11:21 PM, lkcl luke.leigh...@gmail.com 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. I am

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 1:21 PM, Alek Storm alek.st...@gmail.com wrote: On Thu, Apr 19, 2012 at 7:12 AM, lkcl luke luke.leigh...@gmail.com wrote: On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm alek.st...@gmail.com wrote: Why not use list comprehension syntax?  because it's less characters

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=versioniId=25765 but, to summarise: * python2.6 runs under wine (the win32 emulator) * so does

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 for

Re: Framework for a beginner

2012-04-18 Thread lkcl
On Apr 17, 9:54 am, Bryan bryanjugglercryptograp...@yahoo.com 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 :) --

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 real

Re: GUIs - a modest proposal

2012-04-08 Thread lkcl
On Mar 2, 6:42 am, lkcl luke.leigh...@gmail.com 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 forgetting

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

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

2011-07-24 Thread lkcl
On Jul 20, 3:34 am, Terry Reedy tjre...@udel.edu 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: Python for Web

2011-07-24 Thread lkcl
On Jun 15, 1:11 pm, bruno.desthuilli...@gmail.com bruno.desthuilli...@gmail.com wrote: On Jun 15, 9:50 am, sidRo slacky2...@gmail.com 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

Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico ros...@gmail.com 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

Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico ros...@gmail.com 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

python2+3

2011-05-19 Thread lkcl
[changing subject, seems a good idea...] On May 19, 2:13 am, Terry Reedy tjre...@udel.edu 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 should take everything you

Re: pyjamas 0.8alpha1 release

2011-05-19 Thread lkcl
On May 18, 11:02 pm, Terry Reedy tjre...@udel.edu 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

Re: pyjamas 0.8alpha1 release

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

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 18, 6:29 am, harrismh777 harrismh...@charter.net 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

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 18, 10:24 am, lkcl luke.leigh...@gmail.com 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, could be construed as implying that. in case

Re: pyjamas 0.8alpha1 release

2011-05-18 Thread lkcl
On May 17, 5:38 pm, harrismh777 harrismh...@charter.net 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

Re: pyjamas 0.8alpha1 release

2011-05-17 Thread lkcl
On May 4, 7:37 pm, Terry Reedy tjre...@udel.edu 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/

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

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

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

[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

[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

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 luke.leigh...@gmail.com 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

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

2010-07-14 Thread lkcl
On Jul 11, 5:44 am, rantingrick rantingr...@gmail.com wrote: On Jul 10, 10:59 pm, Luke Kenneth Casson Leighton luke.leigh...@gmail.com wrote: source at:http://github.com/lkcl/grailbrowser $ python grail.py (note the lack of python1.5 or python2.4) conversion of the 80 or so regex's

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 martin.hell...@dcuktec.org 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) conversion of the 80 or so regex's to re has been

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

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

2010-07-12 Thread lkcl
On Jul 12, 9:52 pm, Gelonida gelon...@gmail.com 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

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

Re: Should I Learn Python or Ruby next?

2010-06-22 Thread lkcl
On Tue, Jun 22, 2010 at 6:58 PM, Josef Tupag joseftu...@gmail.com 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

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
On Jun 15, 2:47 pm, Steven D'Aprano st...@remove-this- cybersource.com.au 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- esque.  but with a little

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
On Jun 15, 1:07 pm, superpollo ute...@esempio.net 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

Re: GUIs - A Modest Proposal

2010-06-15 Thread lkcl
On Jun 14, 9:00 pm, Stephen Hansen me+list/pyt...@ixokai.io 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 overkill].  so, _even_

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 cf08e777-b98b-4b7c-96df-e7b127c02...@y4g2000yqy.googlegroups.com, lkcl  luke.leigh...@gmail.com wrote: i'm recording all of these, and any other web browser manipulation technology that i've ever encountered, here: http

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

2010-06-14 Thread lkcl
On Jun 13, 3:43 pm, Michael Torrie torr...@gmail.com 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 again this thread

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 13, 2:34 pm, Stephen Hansen me+list/pyt...@ixokai.io 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.  really really

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. --

Re: Will and Abe's Guide to Pyjamas

2010-06-14 Thread lkcl
On Jun 14, 3:53 pm, lkcl luke.leigh...@gmail.com 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 4:17 pm, Stephen Hansen me+list/pyt...@ixokai.io 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 5:57 pm, rantingrick rantingr...@gmail.com wrote: On Jun 14, 11:17 am, Stephen Hansen me+list/pyt...@ixokai.io 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!)

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 5:57 pm, rantingrick rantingr...@gmail.com 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

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 7:30 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: On 6/14/10 11:47 AM, lkcl wrote: On Jun 14, 4:17 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote:  yes.  that's effectively what pyjs applications are about: as much HTML/CSS as you can stand, then _absolute_ pure

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, but

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 7:30 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: On 6/14/10 11:47 AM, lkcl wrote: On Jun 14, 4:17 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote:  yes.  that's effectively what pyjs applications are about: as much HTML/CSS as you can stand, then _absolute_ pure

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 months

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
On Jun 13, 3:34 am, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: lkcl wrote:  * in neither gtk nor qt does there exist an auto-layout widget that's equivalent to putting some span / DOM objects into a div /, to flow widgets that wrap around. You essentially seem to be complaining here

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
On Jun 13, 9:01 am, Jeremy Sanders jeremy +complangpyt...@jeremysanders.net wrote: lkcl wrote:  * in neither gtk nor qt does there exist an auto-layout widget that's equivalent to putting some span / DOM objects into a div /, 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:52 pm, Arndt Roger Schneider arndt.ro...@addcom.de 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 images - but i'm equally definitely convinced

Re: GUIs - A Modest Proposal

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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 6, 10:49 pm, Kevin Walzer k...@codebykevin.com 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 -

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 6, 10:55 pm, ant shi...@uklinux.net wrote: On Jun 6, 2:22 pm, ant shi...@uklinux.net wrote: I get the strong feeling that nobody is really happy with the state of Python GUIs. snip... What an interesting set of responses I got! And - even more interesting - how few of them

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 7, 9:25 pm, Arndt Roger Schneider arndt.ro...@addcom.de 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:12 am, rantingrick rantingr...@gmail.com 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 8:45 am, Lie Ryan lie.1...@gmail.com 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 11:16 am, ant shi...@uklinux.net 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:16 pm, Ethan Furman et...@stoneleaf.us 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:38 pm, rantingrick rantingr...@gmail.com 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 :) --

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

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

2010-06-12 Thread lkcl
On Jun 10, 6:26 pm, Martin v. Loewis mar...@v.loewis.de 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

WebBrowserProgramming [was: GUIs - A Modest Proposal]

2010-06-12 Thread lkcl
On Jun 10, 6:56 pm, Stephen Hansen me+list/pyt...@ixokai.io 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

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

2010-06-12 Thread lkcl
On Jun 12, 8:11 am, Martin v. Loewis mar...@v.loewis.de 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

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 12, 3:07 pm, Kevin Walzer k...@codebykevin.com 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 exactly the design philosophy of Tk

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

2010-06-12 Thread lkcl
On Jun 12, 5:56 pm, Robert Kern robert.k...@gmail.com 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

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

2010-06-12 Thread lkcl
On Jun 12, 6:05 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: On 6/12/10 9:55 AM, lkcl wrote: On Jun 12, 8:11 am, Martin v. Loewis mar...@v.loewis.de wrote: Notice that it's not (only) the functions itself, but also the parameters. It's absolutely easy to crash Python by calling

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

2010-06-12 Thread lkcl
On Jun 12, 6:14 pm, Stephen Hansen me+list/pyt...@ixokai.io 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 it, I thought

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 12, 7:29 pm, Terry Reedy tjre...@udel.edu 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...   yep.  that's why i ported

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

Re: historic grail python browser semi-recovered

2010-06-10 Thread lkcl
On Jun 9, 11:03 pm, rantingrick rantingr...@gmail.com wrote: On Jun 9, 4:29 pm, lkcl luke.leigh...@gmail.com 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 tho...@jollans.com 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

Re: historic grail python browser semi-recovered

2010-06-10 Thread lkcl
On Jun 9, 11:03 pm, rantingrick rantingr...@gmail.com wrote: On Jun 9, 4:29 pm, lkcl luke.leigh...@gmail.com 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 10, 6:17 pm, MRAB pyt...@mrabarnett.plus.com wrote: lkcl wrote: On Jun 9, 11:03 pm, rantingrick rantingr...@gmail.com wrote: On Jun 9, 4:29 pm, lkcl luke.leigh...@gmail.com wrote: um, please don't ask me why but i foundgrail, the python-based web browser, and have managed to hack

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 tjre...@udel.edu 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;, i.e. having absolutely nothing to do

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 st...@remove-this- cybersource.com.au 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

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

Re: historic grail python browser semi-recovered

2010-06-09 Thread lkcl
On Jun 9, 9:29 pm, lkcl luke.leigh...@gmail.com 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

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

Re: Python is cool!!

2010-05-10 Thread lkcl
On Mar 23, 4:55 pm, Jose Manuel jfernan...@gmail.com 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,

Re: Python is cool!!

2010-05-08 Thread lkcl
On Mar 25, 3:01 pm, Bruno Desthuilliers bruno. 42.desthuilli...@websiteburo.invalid 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

Re: pyjamas 0.7 released

2010-05-07 Thread lkcl
On May 2, 7:16 am, Wolfgang Strobl ne...@mystrobl.de wrote: lkcl luke.leigh...@googlemail.com: 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! So please make

Re: pyjamas 0.7 released

2010-04-29 Thread lkcl
On Apr 29, 6:37 am, Wolfgang Strobl ne...@mystrobl.de 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

Re: pyjamas 0.7 released

2010-04-28 Thread lkcl
On Apr 28, 7:00 am, Wolfgang Strobl ne...@mystrobl.de wrote: lkcl luke.leigh...@googlemail.com: On Apr 25, 9:37 pm, Wolfgang Strobl ne...@mystrobl.de wrote: Daniel Fetchinson fetchin...@googlemail.com: for fits and giggles, to show what's possible in only 400 lines of python, here

Re: pyjamas 0.7 released

2010-04-27 Thread lkcl
On Apr 26, 11:25 pm, Patrick Maupin pmau...@gmail.com wrote: On Apr 26, 4:12 pm, lkcl luke.leigh...@googlemail.com 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

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 12:45 pm, Jean-Michel Pichavant jeanmic...@sequans.com 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

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 8:38 pm, Patrick Maupin pmau...@gmail.com wrote: On Apr 25, 8:49 am, Luke Kenneth Casson Leighton l...@lkcl.net 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

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 25, 9:37 pm, Wolfgang Strobl ne...@mystrobl.de wrote: Daniel Fetchinson fetchin...@googlemail.com: 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.    

Re: pyjamas 0.7 released

2010-04-26 Thread lkcl
On Apr 26, 6:52 pm, Patrick Maupin pmau...@gmail.com wrote: On Apr 26, 8:44 am, lkcl luke.leigh...@googlemail.com 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

Re: (snmp code) perl to python

2010-04-25 Thread lkcl
On Apr 25, 9:41 am, Shabbir Ahmed shabbir1...@gmail.com 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

Re: Interacting With Another Script

2010-04-25 Thread lkcl
On Mar 11, 2:16 am, alex23 wuwe...@gmail.com wrote: Victor Subervi victorsube...@gmail.com 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

Re: What happened to pyjamas?

2010-02-22 Thread lkcl
On Feb 19, 2:43 pm, John Pinner funth...@gmail.com 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

Re: look at the google code

2010-02-22 Thread lkcl
On Feb 19, 10:41 am, Allison Vollmann allisonv...@yahoo.com.br 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

Re: Newbie advice

2009-11-10 Thread lkcl
On Oct 29, 7:00 am, alex23 wuwe...@gmail.com 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

Re: imputil.py, is this a bug ?

2009-11-07 Thread lkcl
On Nov 7, 2:20 am, Gabriel Genellina gagsl-...@yahoo.com.ar 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

Re: AJAX Widget Framework

2009-10-12 Thread lkcl
On Oct 1, 6:01 pm, Laszlo Nagy gand...@shopzeus.com 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

Re: some site login problem help plz..

2009-10-12 Thread lkcl
On Oct 5, 8:26 am, Diez B. Roggisch de...@nospam.web.de 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: recommendation for webapp testing?

2009-09-23 Thread lkcl
On Sep 17, 8:19 am, Simon Brunning si...@brunningonline.net wrote: 2009/9/17 Schif Schaf schifsc...@gmail.com: 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.

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

2009-09-20 Thread lkcl
On Sep 19, 8:36 pm, Daniel Fetchinson fetchin...@googlemail.com 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

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

[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.

Re: can python make web applications?

2009-09-18 Thread lkcl
On Sep 16, 7:02 pm, Paul Boddie p...@boddie.org.uk wrote: On 16 Sep, 18:31, lkcl luke.leigh...@googlemail.com 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

  1   2   >