In [100]:
import re


tmp=u'  (1) 中信证券(浙江)有限责任公司宁波中山东路证券营业部                    12500.00'
rdep = re.compile(ur'^\s+$')
r=rdep.match(tmp)
r.group(0)


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-100-fa06af352ea4> in <module>()
      5 rdep = re.compile(ur'^\s+$')
      6 r=rdep.match(tmp)
----> 7 r.group(0)
      8 
      9 

AttributeError: 'NoneType' object has no attribute 'group'

In [ ]:


In [ ]:


In [ ]:


In [ ]: