Hi Taha Kadado,
Kindly note that the Python transformation is only available for Spark engine with some restrictions. Although, it is available in Informatica Developer, it cannot be used in Data Quality (that is native execution engine).
You can refer to the following Support Articles and guides for additional information on how to use Python Transformation:
Setting up python for Python transformation - Support
HOW TO: Setup and Configure the Python Transformation in Informatica DEI (BDM) - Support
Creating a Python Transformation - Creating a Python Transformation
Python Transformation Use Case - Python Transformation Use Case
Let us know for any further information required.