Posted
Filed under 프로그래밍/Python
>>> s.split(' ')
['Rajasekar', 'SP', '', 'def']
>>> s.split()
['Rajasekar', 'SP', 'def']
>>> s.partition(' ')
('Rajasekar', ' ', 'SP  def')
2014/09/30 17:29 2014/09/30 17:29