On 11월15일, 오후9시52분, "Diez B. Roggisch" wrote:
> Pyrot schrieb:
>
> > class rawDNA:
> > import string
>
> Importing here is unusual. Unless you have good reasons to do so, I
> suggest you put the imports on top of the file.
>
> > trans = string.
On 11월15일, 오후10시15분, Tim Chase wrote:
> Pyrot wrote:
> > class rawDNA:
> >import string
> >trans = string.maketrans("GATC","CTAG")
>
> >def __init__(self, template = "GATTACA"):
> >self.template = template
class rawDNA:
import string
trans = string.maketrans("GATC","CTAG")
def __init__(self, template = "GATTACA"):
self.template = template //shouldn't this make "template"
accessible within the scope of "rawDNA"??
def noncoding(self):