'How do I configure os path directory

I keep getting the following response when I query to get static files:

(.venv) PS C:\\Users\\USER\\Documents\\estar app\> python anchor/manage.py collectstatic --no-input


STATIC_ROOT = os.path.join(BASE_DIR, "\<where all static files will be collected\>")

NameError: name 'os' is not defined

Who can help out, please?

I tried:

python manage.py collectstatic --no-input


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source