unique-characters-TurchinskiyD 0.0.1

Creator: bradpython12

Last updated:

0 purchases

unique-characters-TurchinskiyD 0.0.1 Image
unique-characters-TurchinskiyD 0.0.1 Images

Languages

Categories

Add to Cart

Description:

uniquecharactersTurchinskiyD 0.0.1

Counting Unique Characters
This module allows you to count the unique characters that it receives upon entry.
Works with files and strings.
Getting started
A variable args is created to which all the arguments that were passed
to the CLI during the execution of the create_parser() function are assigned.
In function file_check() receives an object args as an input and determines the type:

if args contains a file, then the load_file() file handler function is run
and the contents of the file are passed to the unique_characters() function;
if args does not contain a file, but args contains a string, then that string
is passed to the unique_characters() function

The unique_characters() function processes the string passed to it
and returns the number of unique characters in that string.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.