Python module.py for worker - ModuleNotFound

Hello,
I’m using a generic worker which consists in a Python script that generates some json files.
In this python script I need to import myModule.py, that I placed in the same folder (the same folder of app.py too).

from myModule import Class

I tried also:

from .myModule import Class

The worker, when executing, raise a ModuleNotFound exception.

A not-very-good workaround is to place the module imported in worker script in the working directory of the worker. This works but complicates the installation of the worker.

Do you have any advice on that? Thanks in advance