python ast
摘要:        
import astprint ast.literal_eval('[1, 2, 3]')print eval("2 + 3 * len('hello')") == 17print eval("__import__('os').system('dir')", {})s = """(lambda fc    阅读全文
        posted @ 2016-09-27 16:21 与非朋仔 阅读(714) 评论(0) 推荐(0)
posted @ 2016-09-27 16:21 与非朋仔 阅读(714) 评论(0) 推荐(0)