On Fri, Sep 17, 2010 at 8:35 AM, Gregory, Matthew
wrote:
> Thanks for your reply. I do understand all the different ways parameters can
> be passed and realize that it's up to me to choose that signature. But,
> mostly, I wanted advice on how to make this signature as intuitive as
> possible
Hi James,
James Mills wrote:
> Rather than present you with what I think (subjective)
> might be a "good solution", why don't you look up in the
> python documentation how you define methods and
> what you can do with them (parameters-wise).
>
> I'll summarize:
>
> def foo(self, a, b, c):
>.
On Fri, Sep 17, 2010 at 7:43 AM, Gregory, Matthew
wrote:
> Sorry for what is probably a poor subject line ...
>
> Generally, I'm trying to understand the best way to set up an object's
> __init__ if there are some required parameters and other parameters that can
> be specified in a number of wa
Sorry for what is probably a poor subject line ...
Generally, I'm trying to understand the best way to set up an object's __init__
if there are some required parameters and other parameters that can be
specified in a number of ways. As an example, I'm working on an envelope class
that describe