Import class in my py file


I want to know that how to import the class of my custom py file into my another py file.

I have tried to perform that but can’t succeed.

I have tried below one:
from payroll.payroll.doctype.employee_payroll.salary_structure import EmployeeSalary

Hi @Chandresh_Thakkar

Check below code

Can you share error traceback? It seems that the entered path is not correct

Thank you so much.