Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tgs_lists = ["book:'title:'author:'note:'recomender:'genre:'language:'done:aws'omness:'wanna",
- "watch:'name:'author:'note:'recomender:'genre:'language:'done:aws'omness:'wanna"]
- #this part here is where the split is called twice..
- tgs = { list.split(ch['columns'])[0]:list.split(ch['columns'])[1:]
- for list in tgs_lists if list.strip() not in ("") }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement