Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 12, 2020 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/d3c50b9eca687b9be1cb9e272f35da24 to your computer and use it in GitHub Desktop.
Save parzibyte/d3c50b9eca687b9be1cb9e272f35da24 to your computer and use it in GitHub Desktop.
def obtenerGrupos():
grupos = []
with open(nombreArchivoGrupos) as archivo:
for linea in archivo:
linea = linea.rstrip()
grupos.append(linea)
return grupos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment