sorry for confusion. i tried to understand your code by doing a print. for eg:
Code:
p=re.compile(' " *(.*) \((.*), (.*), (.*), (.*)\)," &.*')
print p
<_sre.SRE_Mat ch object at 0x02B5C800>
and
Code:
m=p.match(line)
print m
p=re.compile(' " *(.*) \((.*), (.*), (.*), (.*)\)," &.*')
print p
m=p.match(line)
print m
for line in lines:
a=line.split('-')[0]
print a
for b in a:
print b,
print
a='0x' array0 = '00000018000004000000000000000000' array1 = '00000000000000000000000000000000' array2 = 'fe000000000000000000000000000000' array3 = '00000000000000000000000000ffffff' data = a+array0+array1+array2+array3 print
f = open("test2.txt")
f.next()
dataList = []
strList = []
for
def main():
new_rows = {}
values = []
f=open('test.txt')
for line in f:
values.append(line.rstrip('\n')[-1])
import numpy as np
from numpy import cos
from scipy import *
from pylab import plot, show, ylim, yticks
from matplotlib import *
from pprint import pprint
n1 = 1.0
n2 = 1.5
#alpha, beta, intensity
data = np.array([
[10, 22, 4.3],
if "-1" in dd[key]:
print "Line number %s failed at column %s" % (key, dd[key].index("-1")+1)
else:
print "All lane PASS"
Leave a comment: