i am trying to run function from python from different directory with
python -c 'import /advg/users/ibrahims/test-coverage-files/coverage.py; coverage.InitliazeResultHtml'
i get the following output :
File "<string>", line 1
import $location; $location.InitliazeResultHtml
^SyntaxError: invalid syntax
can you please help me how to run InitliazeResultHtml from /advg/users/ibrahims/test-coverage-files/coverage.py script in shell ?
thanks in advance.