Category "traceback"

Calling print_exc() on a traceback object result in an AttributeError: 'traceback' object has no attribute 'print_exc'

When executing the following code (trying to open an non-existent file on purpose): import io, sys try: with io.open("THIS_FILE_DOES_NOT_EXIST_SO_IT_RAISES

python sintax problem for solidity compilator

I have problem connected to python. I want to compile solidity files using python. But getting error. import json from solcx import compile_standard, inst