I have a string type list from bash which looks like this:
inp = "["one","two","three","four","five"]"
The input is coming from bash script. In my python script I would like to convert this to normal python list in this format:
["one","two","three","four","five"]
where all elements would be string, but the whole thin is represented as list.
I tried: list(inp) it does not work. Any suggestions?