twinlab.set_user#
- twinlab.set_user(username, verbose=False)[source]#
Set the username for their twinLab cloud account.
Setting this will override the user set in the environment variable
TWINLAB_USER
in the.env
file for the current session. This function can also be used instead of setting aTWINLAB_USER
in a.env
file. Note that a twinLab username is usually an email address.- Parameters:
- Return type:
Example
tl.set_user("example@digilab.co.uk")