Re: Very, Very Green Python User

2006-03-17 Thread hanumizzle
Dhanyavaad (thank you) -- http://mail.python.org/mailman/listinfo/python-list

Re: Very, Very Green Python User

2006-03-15 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > bruno at modulix wrote: > (snip) >>You don't even need this to use callbacks. Remember, functions and >>methods are objects, and other objects can be callable too... > > Eh?? I need an example. Of callables ? class FuncInDisguise(object): def __init__(self, nam

Re: Very, Very Green Python User

2006-03-15 Thread hanumizzle
bruno at modulix wrote: > [EMAIL PROTECTED] wrote: > > I have used Perl for a long time, but I am something of an experimental > > person and mean to try something new. Most of my 'work' with Vector > > Linux entails the use of Perl (a bit of a misnomer as it is not now a > > paid position -- I am

Re: Very, Very Green Python User

2006-03-15 Thread hanumizzle
Dennis Lee Bieber wrote: > On 12 Mar 2006 17:58:43 -0800, [EMAIL PROTECTED] declaimed the > following in comp.lang.python: > > > > > Double-underscore methods are rewritten with the class name? That's an > > ugly hack, but remember I'm coming from Perl. If the language doesn't > > pull many other

Re: Very, Very Green Python User

2006-03-15 Thread hanumizzle
Scott David Daniels wrote: > [EMAIL PROTECTED] wrote: > > Scott David Daniels wrote: > >> [EMAIL PROTECTED] wrote: > >>> ... Is the Python debugger fairly stable? > >> Yes, but it is not massively featured. The "Pythonic" way is to > >> rarely use a debugger (test first and straightforward code s

Re: Very, Very Green Python User

2006-03-15 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: > Scott David Daniels wrote: >> [EMAIL PROTECTED] wrote: >>> ... Is the Python debugger fairly stable? >> Yes, but it is not massively featured. The "Pythonic" way is to >> rarely use a debugger (test first and straightforward code should >> lead to "shallow" bugs). Often

Re: Very, Very Green Python User

2006-03-15 Thread Steve Holden
Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > >>Nobody likes long-winded, abstract philosophical discussions on a >>technology NG. > > > not even on comp.lang.python ? ;-) > I wish :-) regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd

Re: Very, Very Green Python User

2006-03-15 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Nobody likes long-winded, abstract philosophical discussions on a > technology NG. not even on comp.lang.python ? ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Very, Very Green Python User

2006-03-15 Thread hanumizzle
Exactly...this is how most of my Perl modules are written and tested, actually. -- http://mail.python.org/mailman/listinfo/python-list

Re: Very, Very Green Python User

2006-03-15 Thread hanumizzle
Scott David Daniels wrote: > [EMAIL PROTECTED] wrote: > > ... Is the Python debugger fairly stable? > Yes, but it is not massively featured. The "Pythonic" way is to > rarely use a debugger (test first and straightforward code should > lead to "shallow" bugs). Often for most of us judiciously pl

Re: Very, Very Green Python User

2006-03-14 Thread bruno at modulix
[EMAIL PROTECTED] wrote: > I have used Perl for a long time, but I am something of an experimental > person and mean to try something new. Most of my 'work' with Vector > Linux entails the use of Perl (a bit of a misnomer as it is not now a > paid position -- I am not yet even out of K-12), and the

Re: Very, Very Green Python User

2006-03-14 Thread bruno at modulix
Scott David Daniels wrote: > [EMAIL PROTECTED] wrote: > >> ... Is the Python debugger fairly stable? > > Yes, but it is not massively featured. The "Pythonic" way is to > rarely use a debugger (test first and straightforward code should > lead to "shallow" bugs). Often for most of us judiciousl

Re: Very, Very Green Python User

2006-03-14 Thread jalanb
Scott David Daniels wrote: > [EMAIL PROTECTED] wrote: > > The one you get with Perl stinks on ice. More than > > anything else, I would like to have a powerful OO environment where I > > do not have to worry about the debugger sucking > Do watch your language on this newsgroup. Lots of peop

Re: Very, Very Green Python User

2006-03-13 Thread Terry Hancock
On 12 Mar 2006 17:58:43 -0800 [EMAIL PROTECTED] wrote: > Double-underscore methods are rewritten with the class > name? That's an ugly hack, but remember I'm coming from > Perl. If the language doesn't pull many other hijinks, > that's OK. This is GvR's way of saying "do not use double-underscore

Re: Very, Very Green Python User

2006-03-13 Thread Lonnie Princehouse
> Python closures are apparently very poor, but from what I can surmise > of the PyGTK2 page, instances of objects are dynamic enough to add new > methods, so you get your callbacks, at least. It's true that Python's "lambda" is somewhat limited, but this is rarely a problem because you can define

Re: Very, Very Green Python User

2006-03-13 Thread Fredrik Lundh
Scott David Daniels wrote: > > ... Is the Python debugger fairly stable? > Yes, but it is not massively featured. The "Pythonic" way is to > rarely use a debugger (test first and straightforward code should > lead to "shallow" bugs). Often for most of us judiciously placed > print statements suf

Re: Very, Very Green Python User

2006-03-13 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: > ... Is the Python debugger fairly stable? Yes, but it is not massively featured. The "Pythonic" way is to rarely use a debugger (test first and straightforward code should lead to "shallow" bugs). Often for most of us judiciously placed print statements suffice. > The

Very, Very Green Python User

2006-03-12 Thread hanumizzle
I have used Perl for a long time, but I am something of an experimental person and mean to try something new. Most of my 'work' with Vector Linux entails the use of Perl (a bit of a misnomer as it is not now a paid position -- I am not yet even out of K-12), and there a lot of things I love about i