How to convert a string list into an integer in python
int, list, python, string
Solution
Use `split()` to split at the commas, use `int()` to convert to integer:
user_lst = map(int, user.split(","))
Problem
In my python Script I have: ``` user = nuke.getInput("Frames Turned On") userLst = [user] print userLst ``` Result: ``` ['12,33,223'] ``` I was wondering How I would remove the `'` in the list, or somehow convert it into int?