SyntaxFix
Write A Post
Hire A Developer
Questions
If your data is from json, you can do that
import json json.loads('true') True
import json
json.loads('true')
True