Swarnendu0123 / pokedex_img_converter

PokeDex Image Converter is a Python script that converts images of Pokémon from the poke_dex folder to PNG format. The script takes images with names ['bulbasaur.jpg', 'charmander.jpg', 'pikachu.jpg', 'squirtle.jpg'] and converts them to PNG files.
7 stars 7 forks source link

Write diagnostics to stderr, and exit after errors #28

Closed Mango0x45 closed 1 year ago

Mango0x45 commented 1 year ago

When writing output to the console, anything that is purely informational for the user (such as diagnostics) should be written to /dev/stderr. Also, we should exit with a failing code (such as 1) when an error occurs.