import subprocess cmd_icat = "img2sixel /home/teraflops/Imágenes/Thera_cultura_minoica_fresco1.jpg".split() subprocess.check_output(cmd_icat)