上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 87 下一页

2015年4月23日

摘要: 在用WebDriver中打开Internet Explorer访问百度的是,报下面错误:org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protect... 阅读全文
posted @ 2015-04-23 10:32 帅胡 阅读(2246) 评论(0) 推荐(0) 编辑

2015年4月22日

摘要: import StringIO与from io import BytesIO的区别open()函数返回的文件对象取决于模式。当使用文本模式打开文件时,它返回一个TextIOBase的子类。当使用二进制打开时,返回的是BufferedIOBase的子类。准确细分为:可读二进制模式,返回BufferRe... 阅读全文
posted @ 2015-04-22 09:41 帅胡 阅读(1318) 评论(0) 推荐(0) 编辑

2015年4月18日

摘要: 1.自己调用命令行 pyuic4-ocodeFile.py-xyourUIfile.ui2.写一个批处理,每次双击就行了,跟你的源文件放在同一文件夹下 importosforroot,dirs,filesinos.walk('.'):forfileinfiles:iffile.endswith(... 阅读全文
posted @ 2015-04-18 15:30 帅胡 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: he Tetris game is one of the most popular computer games ever created. The original game was designed and programmed by a Russian programmerAlexey Paj... 阅读全文
posted @ 2015-04-18 13:14 帅胡 阅读(375) 评论(0) 推荐(0) 编辑
摘要: This is a widget that we can see in Nero, K3B, or other CD/DVD burning software.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial In t... 阅读全文
posted @ 2015-04-18 13:09 帅胡 阅读(314) 评论(0) 推荐(0) 编辑
摘要: TheQtGui.QBrushis an elementary graphics object. It is used to paint the background of graphics shapes, such as rectangles, ellipses, or polygons. A b... 阅读全文
posted @ 2015-04-18 13:05 帅胡 阅读(835) 评论(0) 推荐(0) 编辑
摘要: TheQtGui.QPenis an elementary graphics object. It is used to draw lines, curves and outlines of rectangles, ellipses, polygons, or other shapes.#!/usr... 阅读全文
posted @ 2015-04-18 10:50 帅胡 阅读(505) 评论(0) 推荐(0) 编辑
摘要: A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values. Valid RGB values are in the range from 0 to 255. We c... 阅读全文
posted @ 2015-04-18 10:31 帅胡 阅读(277) 评论(0) 推荐(0) 编辑
摘要: A point is the most simple graphics object that can be drawn. It is a small spot on the window.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt... 阅读全文
posted @ 2015-04-18 10:29 帅胡 阅读(442) 评论(0) 推荐(0) 编辑
摘要: We begin with drawing some Unicode text on the client area of a window.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial In this examp... 阅读全文
posted @ 2015-04-18 10:28 帅胡 阅读(425) 评论(0) 推荐(0) 编辑
上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 87 下一页

导航