![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 68
sunshine185
不积跬步,无以至千里;不积小流,无以成江海
展开
-
python 正则表达式
1. Python正则式的基本用法 1.1基本规则 1.2重复 1.2.1最小匹配与精确匹配 1.3前向界定与后向界定 1.4组的基本知识 2. re模块的基本函数 2.1使用compile加速 2.2 match和search 2.3 finditer 2.4 字符串的修改与替换 3. 更深入的了解re的组与对象 3.1编译后的Pattern对象 3.2 组与Ma转载 2013-12-19 12:25:45 · 1066 阅读 · 0 评论 -
Linux 平台安装SQLServer客户端操作指南
背景:工作中需要在Linux平台读取Microsoft SQL Server数据库,而Linux平台上本身没有现成的rpm包,因此需要通过源码编译安装。现把源码安装过程及问题处理记录如下 一、安装pymssql需要的包: 1. freetds ( http://www.filewatcher.com/m/freetds-0.82.tar.gz.1596755-0.html ) 2.原创 2016-12-21 17:53:44 · 5850 阅读 · 0 评论 -
Mac 下Python import mysql库时报错的问题及处理
问题描述: Mac环境下使用pip install mysql 后在Python环境中import MySQLdb报错, 报错信息如下: >>> import MySQLdb Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-package原创 2017-03-08 19:33:55 · 3802 阅读 · 1 评论