hey guys, super noob here, i am trying to understand the following code
from google tutorial which i failed to comprehend
#code start
# E. not_bad
# Given a string, find the first appearance of the
# substring 'not' and 'bad'. If the 'bad' follows
# the 'not', replace the whole 'not'...'bad' subs
Spir and Peter, thanks for the specifics, super helpful. Alan, super thanks
for the general advice, you guys are awesome!!
On Mon, Jan 20, 2014 at 5:34 AM, wrote:
> Send Tutor mailing list submissions to
> tutor@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
hey again guys, i am trying to understand these statements,
if i do it like this, it will only print the 'print locus' part
for element in in_file:
if element.find('LOCUS'):
locus += element
elif element.find('ACCESSION'):
accession += element
elif element.find('ORGANISM'):
orga
Alan,
roger that and thanks a bunch. now replying with reply all, i am a super
noob and thanks for the kind adivce
On Tue, Feb 11, 2014 at 10:31 AM, ALAN GAULD wrote:
> CCing the list. Please use Reply All when responding.
>
> > thanks Alan, i understand now zero is False.
>
> That's right. but
hey guys
i have this file i wish to parse, the file looks something like bellow.
there are only four entry here (AaaI, AacLI, AaeI, AagI). the complete file
contains thousands of entries
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
REBASE, The Restriction Enzyme Dat
David, Peter
roger that and thanks so much!!
On Wed, Feb 26, 2014 at 1:29 PM, Peter Otten <__pete...@web.de> wrote:
> rahmad akbar wrote:
>
> > hey guys
> >
> > i have this file i wish to parse, the file looks something like bellow.
> > there are only four
hey guys,
i am trying to understand this code pasted bellow,
1. what is line means? mask[c] |= bit
2. then the line bit *=2, this increment the bit to 2 for each character?
3. what is this line means? accept_state = bit //2
4. lastly, what is this scary line means? D = (( D << 1) + 1) & masks [ c
d
? i had no idea this was on html
Am 25.04.2014 14:16 schrieb "Joel Goldstick" :
>
> On Apr 25, 2014 7:14 AM, "rahmad akbar" wrote:
> >
> > hey guys,
> > i am trying to understand this code pasted bellow,
> > 1. what is line means? mask[c] |= bit
is? i now
understand this bit.
but i still couldnt get this line though
D = (( D << 1) + 1) & masks [ c ]
On Sat, Apr 26, 2014 at 12:37 AM, Dave Angel wrote:
> rahmad akbar Wrote in message:
>>
>>
> to Dave,
>> i do i do the text mode? i had no idea thi
hi Alan,
your explanation clears most things, super thanks!!
On Sat, Apr 26, 2014 at 10:58 AM, Alan Gauld wrote:
> On 26/04/14 09:36, rahmad akbar wrote:
>
>> but i still couldnt get this line though
>>
>> D = (( D << 1) + 1) & masks [ c ]
>
>
> Do
Hi guys
i am trying to understand this code:
http://nbviewer.ipython.org/gist/BenLangmead/6665861
i understand functions quite alright . but i have no idea about
classes yet. the code is written using class and i could not make much
sense out of it. all this init and self thingy drive me crazy. c
thanks guys for the replies,
Danny, your explanation helped alot, i'll have a go on Alan Gaud's
tutorial. super thanks
On Mon, May 26, 2014 at 9:04 AM, Danny Yoo wrote:
>
>
> -- Forwarded message --
> From: diliup gabadamudalige
> Date: Sunday, May 25, 2014
> Subject: [Tutor] cl
12 matches
Mail list logo