casts

A series of functions that provide useful casts from strings into other common objects.

Mainly for usage with input_object in the above package.


Functions

f yes_no(value) ...

For a yes or no question, returns a boolean.

f file(value, **kwarg) ...

value should be a path to file in the filesystem.

returns a file object

See the source for more information.