自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 资源 (3)
  • 问答 (1)
  • 收藏
  • 关注

原创 安装和使用virtualenv

安装 pip install virtualenv操作 在本地目录中(如c:/) 创建一个名字如virtualenvenv这样的文件夹名字 使用命令 virtualenv 文件名(如virtualenv flask-env) 找到Script这个目录 使用命令 activate 激活虚拟环境 deactivate 关闭虚拟环境这篇也是在csdn的最后一篇文章了~ 最后,送上201

2017-09-23 22:37:12 205

原创 安装和使用virtualenv

安装 pip install virtualenv操作 在本地目录中(如c:/) 创建一个名字如virtualenvenv这样的文件夹名字 使用命令 virtualenv 文件名(如virtualenv flask-env) 找到Script这个目录 使用命令 activate 激活虚拟环境 deactivate 关闭虚拟环境这篇也是在csdn的最后一篇文章了~ 最后,送上2017年刚好...

2017-09-23 22:33:41 90

原创 欢迎使用CSDN-markdown编辑器

在项目中创建一个名为cofing.py的文件-- coding: utf-8 --import os设置debug方式DEBUG=True设置sessionSECRET_KEY=os.urandom(24)设置数据库相关信息DIALECT=’mysql’ DRIVER=’mysqldb’ USERNAME=’root’ PASSWORD=’chenzhening0623’ HOST=’127

2017-09-22 12:30:36 218

原创 flask补充笔记

在项目中创建一个名为cofing.py的文件# -*- coding: utf-8 -*-import os#设置debug方式DEBUG=True#设置sessionSECRET_KEY=os.urandom(24) #设置数据库相关信息DIALECT='mysql'DRIVER='mysqldb'USERNAME='root'PASSWORD=...

2017-09-22 12:26:23 117

原创 qt url转迅雷之类的

import reimport base64from PyQt4 import QtGui,QtCoreimport osimport sys class Window(QtGui.QWidget):  def __init__(self):    QtGui.QWidget.__init__(self)     self.linklabel=QtGui....

2016-05-08 08:01:23 156

原创 JavaScript 中 this 的用法 · MForever78

我正在看【译:理解并掌握】,分享给你,一起看吧! https://code.mforever78.com/translation/2015/05/19/understand-javascripts-this-with-clarity-and-master-it/#javascript-this-

2016-05-08 07:59:09 119

原创 js笔记1 隐藏显示

 var obj=document.getElementById('id');obj.onclick=function(){obj.style.attr=value;obj.dispabled=true/false;obj.innerHTML=value;obj.value=values;obj.style.width=num+'px';widhow.co...

2016-05-08 07:57:55 78

原创 不在更新了

这个网站的(我的)内容不在更新了,有问题可以到我的博客园:http://home.cnblogs.com/u/mhxy13867806343/或者开发者头条:http://toutiao.io/u/139808加邮件:[email protected]一起讨论!这是我的微信号,加的时候说下是从iteye处这边加的,谢谢。以后不在到这发新的内容了! ...

2016-05-08 07:53:30 89

原创 javascript 基础1

js编写页面特效动态脚本类型的语言变量:存储数据(日常生活中的东西,比如电视,手机,电脑,出生年份。。。)语法:var obj=value;obj不能为数字开头,且区分大小写value对应数据类型,如number string bool null undefined概念内存中存储一个数据的存储空间,并起一个别名使用创建通过var方式 加上一个别名var ...

2016-05-08 07:42:09 93

翻译 js基础01

day01js编写页面特效动态脚本类型的语言变量:存储数据(日常生活中的东西,比如电视,手机,电脑,出生年份。。。)语法:    var obj=value;    obj不能为数字开头,且区分大小写    value对应数据类型,如number string bool null undefined    概念        内存中存储数据的存储空间,并起一个别名

2016-05-07 22:40:45 362

原创 部分js代码

function string1() {    var str='Hello World';    console.log(str.toUpperCase());    str.toUpperCase();    console.log(str.toLowerCase());}        function string2() {            var str

2016-05-07 22:39:40 277

原创 欢迎使用CSDN-markdown编辑器

js基础笔记1 隐藏显示var obj=document.getElementById(‘id’);obj.onclick=function(){obj.style.attr=value;obj.dispabled=true/false;obj.innerHTML=value;obj.value=values;obj.style.width=num+’px’;widhow.confirm(str)

2016-04-29 00:07:31 217

原创 资源分享

微云 http://share.weiyun.com/9460e7b0e961777dda6763e8bf6c6399百度云:http://pan.baidu.com/s/1i3YffBB

2016-01-02 12:00:14 158

原创 QTreeView学习

from PyQt4.QtGui import *from PyQt4.Qt import *from PyQt4.QtCore import *import sysdef main(): app=QApplication(sys.argv) spliteer=QSplitter() mode1=QDirModel() tree=QTree...

2014-08-04 17:07:49 135

原创 pyqt本地文件系统的数据模型

# -*- coding: cp936 -*-from PyQt4.QtCore import *from PyQt4.QtGui import *from PyQt4 import QtCore, QtGuiimport sysclass MainWindow(QtGui.QMainWindow): def __init__(self): supe...

2014-08-04 16:10:18 215

原创 从目录中找到并打印文件扩展名。

import sys,os,timefrom decimal import Decimal, getcontextpath=os.path.abspath('.')if len(sys.argv)==2: path=sys.argv[1]exts=[]for root,dirs,files in os.walk(os.path.expanduser(path)):...

2014-08-02 22:18:12 116

原创 求负数的POW(x,y)

def fact(): number=eval(raw_input("Enter a number to get the factorial: ")) initialvalue=1 if number>0: for number in range(number,1,-1): initialvalue=initialvalue...

2014-08-02 22:15:54 1777

原创 由于时间关系,只能写部分代码,其他功能到时候加上

# -*- coding: utf-8 -*-# python:2.x__author__ = 'Administrator'#为了2014年8月2号的到来,我的心情十分痛苦,之所以.....是因为......from datetime import *import sys,os,randomprint u'注意:对于有对象的可以滚蛋'class Magpies(obj...

2014-08-01 23:17:53 169

原创 由于时间关系,只能写部分代码,其他功能到时候加上

# -*- coding: utf-8 -*-# python:2.x__author__ = 'Administrator'#为了2014年8月2号的到来,我的心情十分痛苦,之所以.....是因为......from datetime import *import sys,os,randomprint u'注意:对于有对象的可以滚蛋'class Magpies(obj

2014-08-01 23:08:50 407

转载 qt简单界面更新代码(菜鸟级)(部分代码)

qt简单界面更新代码(菜鸟级)(部分代码)self.timers_1=QtCore.QTimer(self)self.timers_1.timeout.connect(self.min_1)self.timers_1.start(1000)def getCPUstate(self,interval=1):        return (" CPU: " + str(psutil

2014-02-25 18:32:21 1001

原创 菜鸟级播放器

菜鸟级播放器http://yunpan.cn/Qz6i4XeCkW9c3http://www.kuaipan.cn/file/id_28483540207274902.htmhttp://dl.vmall.com/c07k82rpy9http://115.com/lb/5lbec85i4s0p#菜鸟级播放器.rar 115网盘礼包码:5lbec85i4s0p

2014-01-16 11:29:32 564

原创 pyqt求帮助

def xias(self):        self.setContextMenuPolicy(Qt.CustomContextMenu)        self.x1=QtGui.QMenu(self)        self.l1=[u'清空播放列表',u'按名称排序',u'按类型排序',                 u'单个文件播放',u'顺序播放',u'随机播放',u

2013-12-27 12:38:35 494

原创 菜鸟级别的记事本

http://dl.vmall.com/c079p0pwpn菜鸟级别记事本.zip网盘 DBank网盘 免费网盘 网络硬盘 华为网盘-值得信赖http://yunpan.cn/QUXIwd23Jq2mG菜鸟级别记事本.zip看起来您访问的页面不存在 请检查您的网址http://115.com/lb/5lbeuopzf4h#菜鸟级别记事本.zip115网盘礼包码:5l

2013-12-04 17:14:06 770

翻译 PyQt v4 - Python Bindings for Qt v4

Reference GuideContact:[email protected]:4.7.2Copyright:Copyright (c) 2010 Riverbank Computing LimitedContents1   Introduct

2013-10-25 17:44:56 2836

翻译 http://blog.sina.com.cn/s/blog_70119c0e0101eg72.html PYQT4

http://blog.sina.com.cn/s/blog_70119c0e0101eg72.html PYQT4

2013-09-13 12:55:44 2283

原创

最近不进入csdn,有事请发邮箱:[email protected]!

2013-08-24 10:04:42 399

原创 写日记

以后技术类的东西都发到这边,定期更新(可能是我自己写的,也可能从其他牛人那边转载,会注明的!!)!!!!

2013-08-06 18:48:58 524

转载 别人的代码

# -*- coding: cp936 -*-"""import stringimport copyinputString=raw_input("请输入你要判断的字符串:")punctuation=string.punctuation #sting.punctuation里面包含了32个英文标点符号identify=' '*32table=string.maketran

2013-07-03 19:27:28 516

Packt.Mastering.Dart.

Packt Mastering Dart.

2015-06-01

Learning C++ by creating games with UE4_2015

Learning C++ by creating games with UE4_2015

2015-06-01

DatabaseSystemConcepts_6th_数据库系统概念_第六版_英文

DatabaseSystemConcepts_6th_数据库系统概念_第六版_英文

2015-04-16

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除