Custom service integration

Hello, i faced an error during deploying this simple code which is ‘failed to call service’ although i had put python file in system tree (/project_name/project_file.py).
i have installed my Hass inside Virtual box.
May you help me to resolve this problem?


this is my reference