首页 软件开发 ( Page 1639 )

软件开发 20769

#Python
Python连接和关闭MySQL数据库,获取MySQL数据库版本。

# coding:utf-8 #安装MYSQL DB for python import MySQLdb as mdb con = None dbpath='E:\Database…

2014-12-30 548

#数据库
必须会的SQL语句(一) 创建数据库与删除数据库

1.创建数据库   Create database 名称 on primary {    name =’名称’,  …

2014-12-30 125

#Python
下载全国城市经纬度

 import re import os import shutil import urllib.request home = "http://jingwei.supfree.n…

2014-12-30 553

#Python
Python邮件服务

#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Zoa Chou' # see http://www.mud…

#HTML
8个通用的web字体集

/* The Times New Roman-based serif stack: */ font-family: Cambria, "Hoefler Text", Utopia,…

2014-12-30 986

#Python
python实现堆排序算法代码

#!/usr/bin/python import sys def left_child(node): return node * 2 + 1 def right_child(nod…

2014-12-30 951

#PHP
在PHP中怎么解决大量数据处理的问题

问题(来自lunacyfoundme)        我正在重建我们公司内部网,期间遇到一个与大量数据处理报告…

#PHP
PHP页面跳转的三种方式

PHP页面跳转一:header()函数 header()函数的定义如下: void header (string string [,bool replace [,int http_…

php
2014-12-30 479

#Python
Python测试Sqlite代码

from sqlite3 import * import os, time, datetime, platform path = "./testP.sqlite"…

2014-12-30 125

#PHP
查找页面中所有链接的PHP代码

function get_links($link) { $html = file_get_contents($link); $html = str_replace("\n…

php
2014-12-30 604

#Python
Python发邮件带附件

import os import sys from smtplib import SMTP from email.MIMEMultipart import MIMEMultipar…

2014-12-30 856

#PHP
使用正则表达式来检测标签是否关闭

function check_html($html) { preg_match_all("/<([a-zA-Z0-9]+)\\s*[^\\/>]*>/&…

php
2014-12-30 200