Updated from time to time
list → map and list
a = list(map(lambda x: x.hogehoge, a))
If it's annoying
b = []
for i in a:
b.append(i.hogehoge)
debug
from IPython.core.debugger import Pdb; Pdb().set_trace()
Recommended Posts