Re: SPE for 2.5?

2006-10-13 Thread Fuzzyman
John Salerno wrote: > Does anyone know if SPE is compatible with Python 2.5? I don't see a > Windows exe file for 2.5, so I wasn't sure if I should use the 2.4 version. > Certainly worth trying the 2.4 version, but it's true that there hasn't been an uupdate of SPE for a long time. Shame as it i

Re: SOAPpy and callback

2006-10-13 Thread Diez B. Roggisch
> I like your term "standard-wise". Although there is nothing in the SOAP > "standard" that prevents this architecture, it is probably open for > discussion whether it is "wise." Might stem from "standardweise", the german word for something that is part of a standard, or e.g. something always

Re: is there an easy way to create a database on the fly and let the user input values

2006-10-13 Thread dwelch91
[EMAIL PROTECTED] wrote: > I don't realy care what database I use wx.grid or whatever. I > wan't it to look at a line > > 128 9023 23428 exc and create the database or pick something out of the > file as some sort of a descrition line and then display and allow the > user to change and add

Re: is there an easy way to create a database on the fly and let the user input values

2006-10-13 Thread Peter Decker
On 12 Oct 2006 15:50:16 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > dabo looks intresting but I am just looking for the simplist way and > having to load from thier thing just complicates stuff. I could > probily just use wx.grid but examples are scarce, I have seen some > simple dbm st

Re: Python component model

2006-10-13 Thread Peter Decker
On 10/12/06, Peter Maas <[EMAIL PROTECTED]> wrote: > Peter Decker wrote: > > I think you should take a good look at Dabo and the visual tools they > > are creating. > > Thanks for the hint, Peter. I've heard of Dabo and it's on my list of > things to be inspected. Perhaps my postings have been misu

Re: IDE

2006-10-13 Thread Peter Decker
On 10/13/06, Theerasak Photha <[EMAIL PROTECTED]> wrote: > On 10/13/06, giuseppe <[EMAIL PROTECTED]> wrote: > > What is the better IDE software for python programming? I like SPE. They really work the way I like to work. -- # p.d. -- http://mail.python.org/mailman/listinfo/python-list

COM error

2006-10-13 Thread Teja
What is "ValueError: argument is not a COM object" ? I get this error when I try to pass a COM object to a thread. Any pointers Thanks Teja -- http://mail.python.org/mailman/listinfo/python-list

Re: IDE

2006-10-13 Thread gregarican
For my tastes I like ActiveState's Komodo for a Python IDE. Eclipse is too bloated, slow, and is like a Tower of Babel. From what I've seen of SPE it seems good, although the download website seems to throw a lot of pop-up adware/spyware installs at you... giuseppe wrote: > What is the better IDE

Re: COM error

2006-10-13 Thread Neil Cerutti
On 2006-10-14, Teja <[EMAIL PROTECTED]> wrote: > What is "ValueError: argument is not a COM object" ? I get this > error when I try to pass a COM object to a thread. > > Any pointers Try passing it to Larry Bird, instead. He's bound to score some points. Seriously, the function you called exp

Re: Newbie: how to wait for callbacks...

2006-10-13 Thread jeff . clough
On Oct 13, 12:38 pm, Jan Bakuwel <[EMAIL PROTECTED]> wrote: > Hoi all, > > I'm trying to write a little code that waits for a callback routine to > be called, ideally with a timeout... > > I guess the code below is not right (using a boolean flag), but since > I'm new to Python, I don't know yet wh

Re: Standard Forth versus Python: a case study

2006-10-13 Thread Paddy
werty wrote: > Apples/oranges ? programmers are making very little $$ today . >Thats software ! No one is makin money on obsolete Forth , > so why a comparisom ? > > Ultimately the best OpSys will be free and millions of lines of code > obsoleted . Because no one can protect intellectu

How does sysconfig.get_config_vars() get config info...

2006-10-13 Thread venkatbo
Hi, I'm trying to cross compile a C extension - on a i686 linux box, targeting a ppc-linux box. get_config_vars(*args): global _config_vars if _config_vars is None: ... else: ... ... What I don't understand is, on the first invocation of get_config_vars(), _

sqlite & python 2.5

2006-10-13 Thread Joseph
Hi, I am using python 2.5 under windows. I am trying to do the below: cursor.execute("SELECT postid, title, body, teaser, postdate, posttime, author, status, format, allow_comments, notify_on_comments, catname \ FROM ton_posts p, ton_category c \ where c.catid = p.category and status =

terminate execfile

2006-10-13 Thread Teja
How to terminate execfile() in the middle of its execution. Any pointers ??? Its very urgent please Thanks Teja.P -- http://mail.python.org/mailman/listinfo/python-list

Re: terminate execfile

2006-10-13 Thread Teja
Teja wrote: > How to terminate execfile() in the middle of its execution. Any > pointers ??? > Its very urgent please > > > Thanks > Teja.P Can I raise an interrupt using PyErr_SetInterrupt??? Is so , does any one know how to do it? -- http://mail.python.org/mailman/listinfo/python-lis

Set -Werror *inside* Python (Was Re: Can pdb be set to break on warnings?)

2006-10-13 Thread R. Bernstein
This seems like very useful information. In the documentation I've been maintaining for the extended python debugger (http://bashdb.sf.net/pydb) I've added this as a little footnote: http://bashdb.sourceforge.net/pydb/pydb/lib/pydb-invocation.html#foot1113 However since pydb allows for options on

Re: optparse: add trailing text in help message?

2006-10-13 Thread James Stroud
Count László de Almásy wrote: > Is there a standard way with optparse to include a blurb of text after > the usage section, description, and the list of options? This is > often useful to include examples or closing comments when the help > message is printed out. Many of the GNU commands do this

Re: IDE that uses an external editor?

2006-10-13 Thread [EMAIL PROTECTED]
Like said before, pida is a great IDE that supports vim as its external editor and also the default editor called Culebra, I've used pida myself and it has some nice features. It's still rough around the edges and has bugs, but its useable. It's written with the Kiwi framework, wich is a wrapper f

A friendlier, sugarier lambda -- a proposal for Ruby-like blocks in python

2006-10-13 Thread brenocon
Hi all -- Compared to the Python I know and love, Ruby isn't quite the same. However, it has at least one terrific feature: "blocks". Whereas in Python a "block" is just several lines of locally-scoped-together code, in Ruby a "block" defines a closure (anonymous function). To avoid confusion le

Re: A friendlier, sugarier lambda -- a proposal for Ruby-like blocks in python

2006-10-13 Thread brenocon
[repost -- fixed formatting] Hi all -- Compared to the Python I know and love, Ruby isn't quite the same. However, it has at least one terrific feature: "blocks". Whereas in Python a "block" is just several lines of locally-scoped-together code, in Ruby a "block" defines a closure (anonymous func

Re: Best IDE?

2006-10-13 Thread Fulvio
*** Your mail has been scanned by InterScan MSS. *** On Friday 13 October 2006 23:17, limodou wrote: > hope you try it. If you'll manage for macro recording, playing back and from file then I'll be yours :) F -- http://mail.python.org/mailman/listinfo/

Attribute error

2006-10-13 Thread Teja
Hi all, What is attribute error? what causes that error, especially with COM objects? To be precise : Attribute Error: LCAS.LabcarController.writeLogWindow() Here, LCAS is a COM object Thanks Teja.P -- http://mail.python.org/mailman/listinfo/python-list

Re: building extensions for Windows Python

2006-10-13 Thread Nick Craig-Wood
JW <[EMAIL PROTECTED]> wrote: > I have a lousy little Python extension, generated with the generous help > of Pyrex. In Linux, things are simple. I compile the extension, link it > against some C stuff, and *poof*! everything works. ;-) > My employer wants me to create a Windows version of

Re: building extensions for Windows Python

2006-10-13 Thread Nick Craig-Wood
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > To build an extension that runs on a generic python 2.5 you need a > Windows OS (suprise!) and VS.NET 2003. Some people may have had some > success with MinGW32 (on windows) but it's not going to work > 'out-of-the-box'. Neither of those statemen

Re: Thread termination

2006-10-13 Thread Hendrik van Rooyen
"Teja" <[EMAIL PROTECTED]>wrote: > Hi all, > > Does any one know how to terminate or kill a thread that is started > with "start_new_thread()" in the middle of its execution? > > Any pointers? > > Thanks in advance > > Teja. can't be done from outside without co operation of thread in questi

Re: What value should be passed to make a function use the defaultargument value?

2006-10-13 Thread Hendrik van Rooyen
"Antoon Pardon" <[EMAIL PROTECTED]> wrote: 8<- > If we somehow want to seperate parameters in those that > can be used with a keyword and those that don't it has > to be something different than providing a default value

Re: Starting out.

2006-10-13 Thread Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote: 8< > Well, I'm on vacation this week, so 5 pm means nothing to me: > > teetertotter > > from the Consolidated Word List from puzzlers.org. > > Yes, it's also spelled with a hyphen or a space, but as long as this > is a valid spelling, it counts.

Re: A friendlier, sugarier lambda -- a proposal for Ruby-like blocks in python

2006-10-13 Thread Kay Schluehr
[EMAIL PROTECTED] wrote: > But [embedding a definition, ks] is awkward since the lambda is constrained > to be one > line; you > can't come back later and add much to the callback's code. > Furthermore, this example isn't even legal, because 'print' isn't a > function, but a statement -- lambda i

<    1   2   3