Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 19, 2020 23:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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