上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 主题下载网站 https://www.gnome-look.org/ 下载好安装包后解压 将文件夹移动到 usr/share/theme/ 下 下载设置工具 在出来的GUI中可更换主题 over! 阅读全文
posted @ 2017-11-25 20:23 金牛小子 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: https://jingyan.baidu.com/article/a501d80c0e45b8ec630f5ed6.html 阅读全文
posted @ 2017-10-28 14:02 金牛小子 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 下载python安装包,双击安装后, 在cmd中输入python 若无反应, 在cmd设置环境变量 变量 : set PATH=C:\...\...\...[python的编译器的路径];%PATH% set PATH=C:\python35-23\python;%PATH% 阅读全文
posted @ 2017-09-25 20:14 金牛小子 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 代码集编号 20170918-00 阅读全文
posted @ 2017-09-18 20:54 金牛小子 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 最近电脑重装了系统,又重新安装python 。在官网下载了安装包后电脑成功安装了,但使用pip命令时出现以下错误 Fatal error in launcher: Unable to create process using 主要原因是工具中的默认的python安装路径和系统中的不一致 参考:htt 阅读全文
posted @ 2017-09-18 20:32 金牛小子 阅读(547) 评论(0) 推荐(0) 编辑
摘要: url(r'^firstcontent/'+str(date)+'/(?P<first_body_id>\d+)/$', views.firstcontent, name='firstcontent'), url(r'^cepingcontent/'+str(date)+'/(?P<ceping_b 阅读全文
posted @ 2017-08-17 16:15 金牛小子 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 在你定义的views.py中修改 Models.objects.order_by("-pub_date") 更据时间排列 Models.objects.order_by("-id") 也可以更剧id排列 者样就能将最新的文章显示在前面了,而以前的文章就会往后排 阅读全文
posted @ 2017-08-17 14:02 金牛小子 阅读(354) 评论(0) 推荐(0) 编辑
摘要: pyinstaller -F xxx.py 阅读全文
posted @ 2017-08-12 19:57 金牛小子 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 写了一个爬学校新闻网的爬虫, 主要涉及 re正则 urllib.request 文件的写入 在爬取文章时通常会返回很多影响美感的代码 如下: 优化: 两次正则 替换 over! 阅读全文
posted @ 2017-08-12 18:07 金牛小子 阅读(4028) 评论(0) 推荐(0) 编辑
摘要: 在使用django开发的时候,访问网站出现了502错误,次数也比较平繁 uwsgi+nginx+django 在命令行下提示如下错误 : File "/opt/apps/python3/lib/python3.5/linecache.py", line 137, in updatecache lin 阅读全文
posted @ 2017-08-02 16:28 金牛小子 阅读(1458) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页