Advertisement
Fhernd

separar-partes-cadena.py

Apr 7th, 2018
2,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import re
  2.  
  3. contenido = 'Python x86; Multiparadigma, Interpretado,Modular,      x64'
  4.  
  5. partes_contenido = re.split(r'[;,\s]\s*', contenido)
  6.  
  7. print(partes_contenido)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement