安装 1. 使用 apt 安装:$ sudo apt-get install python-pip 截止本文落笔,apt 安装 pip 版本为 1.0,但 pip 最新发行版本为 1.5.6$ pip --versionpip 1.0 from /usr/lib/python2.7/dist-p.....
分类:
编程语言 时间:
2014-09-01 10:42:02
阅读次数:
265
刚开始学习Python时,在看文档和别人的blog介绍安装包有的用easy_install, setuptools, 有的使用pip,distribute,那麽这几个工具有什么关系呢,看一下下面这个图就明白了可以看到distribute是setuptools的取代,pip是easy_install的...
分类:
编程语言 时间:
2014-09-01 10:38:32
阅读次数:
190
python中自带了处理python的模块,使用时候直接import json即可。使用loads方法即可将json字符串转换成python对象,对应关系如下: JSON Python object dict array list string unicode num...
分类:
Web程序 时间:
2014-09-01 09:18:02
阅读次数:
269
capitalize()把字符串的第一个字符改为大写casefold()把整个字符串的所有字符改为小写center(width)将字符串居中,并使用空格填充至长度width的新字符串count(sub[,start[,end]])返回sub在字符串里边出现的次数,start和end参数表示范围,可选...
分类:
编程语言 时间:
2014-09-01 09:15:22
阅读次数:
195
1.加密数据库/*Module 2 Implementing Transparent Data Encryption*/-- 2.1 Create DataBase Master KeyUSE Master;GOCreate Master Key Encryption By Password='Su...
分类:
数据库 时间:
2014-09-01 07:05:32
阅读次数:
265
SQL Server 可以在实例,数据库,列,查询分别指定排序规则/* Module 1 - working with Clollations*/-- 1.1 Obtain the Instance Collation from the GUI--Create a Database without ...
分类:
数据库 时间:
2014-09-01 03:58:22
阅读次数:
309
一,MySQL-Python插件Python里操作MySQL数据库,需要Python下安装访问MySQL数据库接口API包即插件,从而使得Python2.7能访问操作MySQL数据库。MySQL软件可以去官网下载:http://www.mysql.com/二,访问MySQL数据库1,连接数据库mysql基本格式:connect([host=]‘ip‘,[user=]‘use..
分类:
数据库 时间:
2014-09-01 02:56:23
阅读次数:
250
网上搜索了一番,示例挺多,但发现都写的是 input in; output out;然后 assign io= (oe)?out:1'bz;就有点想不明白了,当IO方向为输出时,应该输出out的值,那么针对这个IO模块,out应该是input才对。而in应该是ouput的。尝试写了段代码module...
分类:
其他好文 时间:
2014-09-01 01:35:32
阅读次数:
275
主要内容:python相关网站资料介绍python在线手册python相关实例教程1、python相关网站资料介绍 官网:http://www.python.org/ Python in wiki:http://wiki.python.org/moin/FrontPage 2、python在线手册 ...
分类:
编程语言 时间:
2014-09-01 00:19:02
阅读次数:
234