import matplotlib.pyplot as plt
import numpy as np
x=np.array([[1,2,3], [4,5,6]])
y=np.array([[11,22,33], [44,55,66]])
data=zip(*[x,y])
for d in data:
plt.plot(d[0],d[1])
s="aAaaabbccdcc"
letters=s[0]
for letter in s[1:]:
if letter!=letters[-1]:
letters+=letter
print letters
from selenium.common.exceptions import NoSuchElementException
try:
elem=driver.find_element_by_xpath("//a[contains(@href,'marketgid')]")
except NoSuchElementException:
print "Missing"
else:
elem.click()
и что там дальше