skip to Main Content

How create a correct file path with a Python API program that is running inside a Docker Container?

My python progam is creating wrong file path. The file path formed is wrong : '/autocameratest2dataTestImages/7_vw_test.png' The correct file path should be: '/autocameratest2/data/TestImages/7_vw_test.png' The file path is fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/autocameratest2\data\TestImages/7_vw_test.png'…

VIEW QUESTION
Back To Top
Search