Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 19, 2020 23:36
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/5aa9027dae76b51cfe8e5bb0c434cb1c to your computer and use it in GitHub Desktop.
Save parzibyte/5aa9027dae76b51cfe8e5bb0c434cb1c to your computer and use it in GitHub Desktop.
parser = argparse.ArgumentParser()
parser.add_argument(
"archivo", help="El archivo que contiene la lista de canciones o canciones y artista")
parser.add_argument("--artista", type=str,
help="Si está presente, se descargarán las canciones de 'archivo' de ese artista; si no, se descargarán tal y como están en el archivo")
argumentos = parser.parse_args()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment