SyntaxFix
Write A Post
Hire A Developer
Questions
import ast answer = subprocess.check_output(PYTHON_ + command, shell=True).strip() print(ast.literal_eval(answer.decode(UTF_)))
Works for me