01 2018 档案

摘要:$images = [ 'http://www.thinkphp.cn/Uploads/editor/2017-11-02/59fac47ed670b.png', 'http://www.thinkphp.cn/Uploads/editor/2017-11-02/59fac48995e58.png' 阅读全文
posted @ 2018-01-26 10:27 pengcx 阅读(168) 评论(0) 推荐(0)
摘要:很可能是因为工作目录并不在sys.path中,系统无法默认的找到您的脚本文件,通过以下命令可以解决该问题: >>> import sys>>> sys.path.append('d:\python_test') #括号内为工作文件夹路径>>> import mymodel #引用的模块 阅读全文
posted @ 2018-01-11 13:42 pengcx 阅读(1949) 评论(0) 推荐(0)
摘要:分析: 1、ob_clean这个函数的作用: 用来丢弃输出缓冲区中的内容,如果你的网站有许多生成的图片类文件,那么想要访问正确,就要经常清除缓冲区 阅读全文
posted @ 2018-01-02 15:56 pengcx 阅读(483) 评论(0) 推荐(0)