blab_chatbot_bot_client#

BLAB Chatbot Client.

Submodules#

Package Contents#

Functions#

make_path_absolute(p)

Convert valid paths relative to project's root into absolute paths.

make_path_absolute(p)#

Convert valid paths relative to project’s root into absolute paths.

Parameters:

p (str) – the input string, possibly a valid path

Returns:

if p is the path to an existing file/directory relative to the project’s root, then its absolute path is returned; otherwise, the function returns the same string it received

Return type:

str