human
How to convert a string list into an integer in python
assistant
Here is some code to get a list of integers by splitting  a string `user` with comma

[int(s) for s in user.split(',')]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.