On 19 February 2014 16:21, Mukesh Yadav <mak....@gmail.com> wrote:
>> Unless I am missing something, why can't you use:
>>   object.some_awesome_function( bucket )
>>
> I can but in my case I have 5+ setting variables, which is not feasible to
> pass it for each method which it is using.

Why not? If you really wanted, you could use a settings
dict.

>  Also,
>> as you are presumably writing these scripts after the
>> class code has already been created, how would the
>> class know where to import from?
>>
>
> I can change the class code and parameter as it is small script.

I would think that this is terrible practice.

Regards,
Gora
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to