Python Convert a string of tuple list into a tuple list
As mentioned by @Shinratensei, you can use ast
import ast
output = ast.literal_eval("[('0.0.0.0',5656), ('0.0.0.0',5656), ('0.0.0.0',5656), ('0.0.0.0',5656)]")
# [('0.0.0.0', 5656), ('0.0.0.0', 5656), ('0.0.0.0', 5656), ('0.0.0.0', 5656)]