On Mon, Jan 26, 2015 at 11:48:52AM +0100, [email protected] wrote:
>
>
> Dear All,
> What is the best way to loop on methos on a class?
I do not understand the question. Can you explain in more detail?
> class Rna():
> def trim():
> ...
> def align():
> ...
Both methods need a "self" parameter:
def trim(self):
...
def align(self):
...
> ena = Rna()
> ena.trim()
> ena.aling()
ena.align()
--
Steve
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor