duck.cli

Subpackages

Package Contents

Functions

add_to_pythonpath

Retrieves the current PYTHONPATH environment variable and returns it.

API

duck.cli.add_to_pythonpath(path: str)[source]

Retrieves the current PYTHONPATH environment variable and returns it.

Parameters:

path – The directory to check in the current PYTHONPATH.

Returns:

The current PYTHONPATH value.

Return type:

str