python笔记&错误问题

列表部分

杂项

eval函数

a = "[[1,2,3]]"
eval(a)

输出
[[1, 2, 3]]
判断
isinstance(a, list) == True

错误处理

error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1

图片

# python

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×