摘要: 那天跑到stackoverfow里瞎看,遇到这样一个问题:http://stackoverflow.com/questions/19945161/python-pass-variable-to-import-file/19945501#19945501一开始没能完全理解意思,回答得牛头不对马嘴,不过还是学到了一些东西:1.execfile()函数:帮助文档中是这么定义的,来简单翻译一下This function is similar to the exec statement, but parses a file instead of a string. It is different fro 阅读全文
posted @ 2013-11-29 16:56 jaw-crusher 阅读(585) 评论(0) 推荐(0)