上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 96 下一页
摘要: 使用QPixmap可以加载图片,但是图片只能是标准二进制文件格式: bmp,gif,ico,jpeg,jpg,mng,pbm,pgm,png,ppm,svg,svgz,tga,tif,tiff,xbm,xpm 但是我用png加载不出内容,用jpg可以。不知道什么原理。 一个可能的原因是,本来文件是j 阅读全文
posted @ 2017-03-05 20:50 超级学渣渣 阅读(743) 评论(0) 推荐(0) 编辑
摘要: import sys import re import socket import time import inspect import ctypes import threading from PyQt4 import QtCore,QtGui,uic from PyQt4.QtCore impo 阅读全文
posted @ 2017-03-05 17:09 超级学渣渣 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: 有时候.serialize()或者.serializeJSON()莫名其妙的不能按照我们的要求将数据序列化。 或者其他什么问题然我们需要自己惊醒JSON数据的构造。因为js对JSON的支持做的比较好,所以我对js字符串和JSON数据有点混乱。 这里简单解释一下。 这样是新建一个JSONObj,它应该 阅读全文
posted @ 2017-02-28 14:35 超级学渣渣 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 其实还是很格式化的: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Demo</title> <style> body, input, 阅读全文
posted @ 2017-02-27 17:18 超级学渣渣 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 中国海洋大学教务处爬虫 阅读全文
posted @ 2017-02-22 22:42 超级学渣渣 阅读(24) 评论(0) 推荐(0) 编辑
摘要: MD5 base64 阅读全文
posted @ 2017-02-21 12:37 超级学渣渣 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 用爬虫抓取图片的保存 保存图片 阅读全文
posted @ 2017-02-21 12:16 超级学渣渣 阅读(5415) 评论(0) 推荐(0) 编辑
摘要: Python 日期和时间 转载:http://www.runoob.com/python/python-date-time.html Python 程序能用很多方式处理日期和时间,转换日期格式是一个常见的功能。 Python 提供了一个 time 和 calendar 模块可以用于格式化日期和时间。 阅读全文
posted @ 2017-02-21 11:18 超级学渣渣 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: 作者:阿凡卢 出处:http://www.cnblogs.com/luxiaoxun/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 卡特兰数 catalan number 卡特兰数前几项为 : 1, 1, 2, 阅读全文
posted @ 2017-02-19 15:31 超级学渣渣 阅读(332) 评论(0) 推荐(0) 编辑
摘要: http://www.imooc.com/code/1705 网页卷去的距离与偏移量 我们先来看看下面的图: scrollLeft:设置或获取位于给定对象左边界与窗口中目前可见内容的最左端之间的距离 ,即左边灰色的内容。 scrollTop:设置或获取位于对象最顶端与窗口中可见内容的最顶端之间的距离 阅读全文
posted @ 2017-02-19 11:53 超级学渣渣 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 96 下一页