- 博客(13)
- 收藏
- 关注
转载 python pyinstaller打包matplotlib遇到的问题
环境:python2.7,windows(我当时找到的参考回答,他装的是python3)参考链接https://stackoverflow.com/questions/41228933/importerror-no-module-named-tkinter-after-pyinstaller 我的原始程序中使用了matplotlib包,使用pyinstaller -F a.py打包...
2018-11-26 22:22:00 8885
原创 python3 带着cookie读取网页源代码
大家可以参考这个博主的https://blog.csdn.net/com_ma/article/details/77486384 python3中 urllib和urllib2合为一体,因此这里用的是urllib.request。除此之外需要cookiejar,python2中是cookielib,python3中改为了http.cookiejar。import urllibi...
2018-09-14 11:13:31 1283
原创 python2018.3.19
UnicodeDecodeError: 'gbk' codec can't decode byte 0x88 in position 2: illegal multibyte sequenceimport jieba;file_path = "F:\python\liying_wuli.txt";new_path = "F:\python\1_liying_wuli.txt";f = o...
2018-03-19 21:44:37 305
原创 在linux下搭建apache+mysql+php环境
搭建顺序为:Mysql ->Apache->PHP,PHP要安装在这两个后面,因为是要依赖Apache和Mysql的服务的。
2017-10-16 14:19:58 953
原创 HDOJ_1720_A+B Coming
题目:Many classmates said to me that A+B is must needs. If you can’t AC this problem, you would invite me for night meal. ^_^Input Input may contain multiple test cases. Each case contains A and B in o
2017-09-16 14:53:53 289
原创 HDOJ_2005_第几天
杭电oj2005,题目: 给定一个日期,输出这个日期是该年的第几天。Input 输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成
2017-09-09 22:12:20 680 2
原创 HDOJ_1005_Number Sequence
题目:A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).杭电oj1005
2017-09-09 15:44:52 323
原创 HDOJ_1003_Max Sum
题目:Given a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 14.杭电oj_1003_max sum
2017-09-09 14:23:04 230
原创 HDOJ_1002_A + B Problem II
题目:I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.HDOJ1002,易错点,解题思路。
2017-09-05 22:24:13 262
原创 HDOJ_1001_Sum Problem
题目:In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + … + n.Input 杭电OJ1001
2017-09-04 20:04:05 264
原创 2018计算机推免生东南大学面试笔试回忆录~
本篇文章记录了蜗牛君在东南大学参加面试复试的经历以及考试的内容,希望对未来的可爱的学妹学弟们有所帮助。
2017-09-03 15:34:50 15428 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人