Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 11:44 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > You wrote: " can't think of a single reason why you would ever want to > > do this, > > since your "list of method and property names" would be just as > > verbose as just typing the actual python code." > > > I don't think I un

Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 1:23 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Steven Bethard a écrit : > (snip) > > > In Python, you can use property() to make method calls look like > > attribute access. This could be necessary if you have an existing API > > that used public attributes, but changes to yo

Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 11:47 am, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Sunburned Surveyor a écrit : > > > On Oct 22, 10:26 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > > (snip) > >>I can't think of a single reason why you would ever want t

Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 11:43 am, Steven Bethard <[EMAIL PROTECTED]> wrote: > Sunburned Surveyor wrote: > > Contents of input text file: > > > [Name] > > Fire Breathing Dragon > > > [Properties] > > Strength > > Scariness > > Endurance > >

Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 11:23 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 10/22/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > > > > > > > On Oct 22, 10:26 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > > > On 10/22/07, Sunb

Re: Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
On Oct 22, 10:26 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 10/22/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > > > > > > > I was thinking of a way I could make writing Python Class Files a > > little less painful. I was considering

Automatic Generation of Python Class Files

2007-10-22 Thread Sunburned Surveyor
I was thinking of a way I could make writing Python Class Files a little less painful. I was considering a Ptyhon script that read a file with a list of property names and method names and then generated a skeleton class file. I was even thinking of automatically generating the shell for doc strin