![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
stckiss
这个作者很懒,什么都没留下…
展开
-
python django apache配置路径问题
昨天晚上配置这三个东西费了点时间.结果睡觉之前还没搞定.早上到公司翻了一下apache文档终于搞定了.. 在些记录一下: 软件准备: python2.5.2 apache_2.2.10 django1.0 mod_python-3.3.1win32-py2.5-apache2.2 安装步骤:在些省略........ 配置 apache httpd.conf 网上资料超多.找...2008-10-31 17:50:02 · 116 阅读 · 0 评论 -
python 三目运算
>>> a = 'abc'>>> b = 'efg'>>> 1==0 and a or b'efg'>>> 1>2 and a or b'efg'>>> 1<2 and a or b'abc' 在如: a = '' 的话 >>2008-10-31 17:57:05 · 39 阅读 · 0 评论 -
python 内置函数
本文主要是学习随笔.记录下来以免忘记.....1. type 函数 返回任意对象的数据类型>>> type(1)<type 'int'>>>> type(2.0000)<type 'float'>>>> type('ssss')<type 'str'>>&2008-11-03 17:17:34 · 40 阅读 · 0 评论 -
python 连接oracle
import cx_Oracle>>> conn = cx_Oracle.connect('user','0909',cx_Oracle.makedsn('192.168.1.176',1521,'testDate'))>>> cur = conn.cursor()>>> cur.execute('select * from admin'...2008-11-11 17:26:21 · 65 阅读 · 0 评论 -
统筹问题的python 思考
大家看看:http://wiki.woodpecker.org.cn/moin/MiscItems/2008-11-17原创 2008-11-17 18:23:13 · 128 阅读 · 0 评论