###
CODE:
elif line1.rstrip(‘\n’) in line2.strip(‘\n’):
for line3 in myips:
print “###”
print “line1 is %s” % line1.rstrip(‘\n’)
print “line2 is %s” % line2.strip(‘\n’)
###
OUTPUT:
line1 is 10.10.168.2
line2 is
On Saturday, September 2, 2017 at 6:34:59 PM UTC-4, Chris Roberts wrote:
> Perhaps someone here could help me to get this into perspective.
> Somehow when we start to feed an instance as the argument in a new instance.
> my head explodes..
> in this case...
> a = Foo()
> b = Ba
Perhaps someone here could help me to get this into perspective.
Somehow when we start to feed an instance as the argument in a new instance. my
head explodes..
in this case...
a = Foo()
b = Bar(a)
So...
a is a 'Foo instance' with properties and methods.
b is a 'Bar instance'
Since b is using
6:21 PM, Laura Creighton wrote:
> In a message of Tue, 22 Sep 2015 14:43:55 -0700, Chris Roberts writes:
> >
> >
> >(How do I make it into an index? )
> >Preferably something fairly easy to understand as I am new at this.
> >
> >results = 134523 #(Integ
(How do I make it into an index? )
Preferably something fairly easy to understand as I am new at this.
results = 134523 #(Integer)
Desired:
results = [1, 2, 3, 4, 5, 2, 3] #(INDEX)
Somehow I see ways to convert index to list to int, but not back again.
Thanks,
crzzy1
--
https://mail