Skip to content

Implement custom save location, more specific file naming system, and helpful feedback for errors#34

Open
Larkteryny wants to merge 4 commits intoRameshAditya:masterfrom
Larkteryny:master
Open

Implement custom save location, more specific file naming system, and helpful feedback for errors#34
Larkteryny wants to merge 4 commits intoRameshAditya:masterfrom
Larkteryny:master

Conversation

@Larkteryny
Copy link

Optional argument to save output to custom directory and/or custom filename

Images retrieved from URLs named according to filename in URL
Filename of saved output has new default format of "{original image filename}-asciified.txt"

More readable/useful error messages when:

  • writing output to custom file/location
  • no image is provided
  • URL for image is invalid

Optional argument to save output to custom directory and/or custom filename
Images retrieved from URLs named according to filename in URL
Output txt filename default format is "{original image filename}-asciified"
When writing output to file, handles FileNotFoundError and PermissionError
Displays readable error messages for each
Provides more readable feedback to user when these 2 cases occur
@Larkteryny Larkteryny closed this Jun 12, 2022
@Larkteryny Larkteryny reopened this Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant