分页: 1/35 第一页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]

py生成pyc和pyo 不指定

root , 2007/08/22 14:57 , Python , 评论(0) , 阅读(5852) , Via 本站原创
python2.2
引用

>>> import py_compile
>>> py_compile.compile('xxx.py')


python2.4 later
引用

#生成pycpython -m py_compile xxx.py
#生成pyopython -O -m py_compile xxx.py
Tags: ,

Python连接Sqlserver方法 不指定

root , 2007/08/22 00:00 , Python , 评论(0) , 阅读(6447) , Via 本站原创
参见:http://pymssql.sourceforge.net/
简单例子:

请参考:http://pymssql.sourceforge.net/example_pymssql.html
Python Database API Specification v2.0 :http://www.python.org/dev/peps/pep-0249/
数据库操作手册:http://www.cnxuexi.com/computer/chengxusheji/shujuku/4369.html
Tags: ,
分页: 1/35 第一页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]