I'm a new python programmer. Currently, we are switching from python2 to python3, and we found out all the python script generated by grpc have code like this.
import dataPlatform_pb2 as dataPlatform__pb2
However, python3 do not support this type of relative path import. I need to manually change it to
from . import dataPlatform_pb as dataPlatform__pb2
Is there any better solution for this problem, it seems a bad practice to changing auto generated code all the time.