Created
April 7, 2018 13:26
-
-
Save Fhernd/b70deb23de8bb4e462f807141105304b to your computer and use it in GitHub Desktop.
Separación de las partes de una cadena. OrtizOL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
contenido = 'Python x86; Multiparadigma, Interpretado,Modular, x64' | |
partes_contenido = re.split(r'[;,\s]\s*', contenido) | |
print(partes_contenido) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment