#!/usr/bin/python
# -*- coding: utf8 -*-
import MySQLdb
conn=MySQLdb.connect(host="localhost",user="root",passwd="phpcool",db="device")
cursor=conn.cursor()
cursor.execute("SET NAMES utf8")
cursor.execute("select * from attribute")
cds = cursor.fetchall()
for row in cds:
for r in row:
p ...
- 浏览: 2755 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
有这样的系统,工作就是乐 ...
Ubuntu 8.04 珍爱生命,远离微软。
-- by 23c -
有这样的系统,工作就是乐 ...
ubuntu
-- by lovejuan1314 -
有这样的系统,工作就是乐 ...
不解。。。。。
-- by qikii -
有这样的系统,工作就是乐 ...
是ubuntu不是vista
-- by totty -
有这样的系统,工作就是乐 ...
????
-- by thysky






评论排行榜