<?xml version="1.0" encoding="GB2312"  ?>

			<rss version="2.0">

			<channel>

			<title>ChinaUnix.net - Python</title>

			<link>http://bbs.chinaunix.net/forumdisplay.php?fid=55</link>

			<description><![CDATA[Python是一种解释性，面向对象，动态语义，语法优美的通用程序设计编程语言。 已经成为世界上发展最快的语言之一...]]></description>
			<managingEditor>admin2@staff.chinaunix.net</managingEditor>

			<webMaster>admin2@staff.chinaunix.net</webMaster>

			<lastBuildDate>2012-05-15 05:05:20</lastBuildDate>
<item>

				<title>如何将Django应用从自带的服务器转移至Apache上？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743437</link>

  				<author>xjhns</author>
  				<pubDate>2012-05-14 23:29:10</pubDate>
				<description><![CDATA[

				作者: xjhns

				发表于: 2012-05-14 23:29:10 (GMT 8)

				简介：本人开了一个Django应用，应用路径为：d:\python\django\bin\mysite1，用其自带的开发服务器（127.0.0.1:8000），跑起来正常。

现在想把服务器换成Apache，Apache+WSGI安装配置完毕，设置了下测试，Django自己的欢迎界面也能起来。但是，想把应用用Apache带起来，试了网上的几种方法，就是配置httpd.conf与django.wsgi

				]]></description>

				</item>
<item>

				<title>问一个问题，高手进！！ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743435</link>

  				<author>wanglezeng</author>
  				<pubDate>2012-05-14 23:28:01</pubDate>
				<description><![CDATA[

				作者: wanglezeng

				发表于: 2012-05-14 23:28:01 (GMT 8)

				简介：有知道自动回复的那个机器人是怎么实现的吗？ 说下原理!谢谢了。在现等！

				]]></description>

				</item>
<item>

				<title>招聘职位 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743427</link>

  				<author>tony0417</author>
  				<pubDate>2012-05-14 22:43:03</pubDate>
				<description><![CDATA[

				作者: tony0417

				发表于: 2012-05-14 22:43:03 (GMT 8)

				简介：招聘职位：
大连 C/C++  .NET(熟悉SmartClient) PL-SQL(ORACLE存储过程) 

大连 展览展示设计师 市场部经理 特效组长 图书编辑部经理 编剧部经理 美术导演 动作导演 总导演 材质灯光组长 原画设计师 动画师 模型指导 渲染合成师 销售专员 档口主管（北京和沈阳） 服装市场主管 高级美工

沈阳 技术人员(Python)
写过存贮过程、对PL/SQ

				]]></description>

				</item>
<item>

				<title>初试django创建项目时的错误解决办法 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743422</link>

  				<author>loogn_qiang</author>
  				<pubDate>2012-05-14 22:34:08</pubDate>
				<description><![CDATA[

				作者: loogn_qiang

				发表于: 2012-05-14 22:34:08 (GMT 8)

				简介：由于使用的是fedora环境，python也是自带安装的，所以从[url]http://www.djangoproject.com/download/[/url]官网上下载所需要的django版本，将其解压后进入其解压根目录，使用python setup.py install，然后在终端中
输入python，通过import django，键入django.VERSION可以查看是否安装成功和安

				]]></description>

				</item>
<item>

				<title>Page not found (404) </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743421</link>

  				<author>gswsweet</author>
  				<pubDate>2012-05-14 22:34:05</pubDate>
				<description><![CDATA[

				作者: gswsweet

				发表于: 2012-05-14 22:34:05 (GMT 8)

				简介：[attach]533013[/attach]

				]]></description>

				</item>
<item>

				<title>python如何操作urllib 中open返回的数据流？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743306</link>

  				<author>飞得更高333</author>
  				<pubDate>2012-05-14 18:59:46</pubDate>
				<description><![CDATA[

				作者: 飞得更高333

				发表于: 2012-05-14 18:59:46 (GMT 8)

				简介： 21     request = urllib2.Request(url_prepare, postdata)

 23     opener = urllib2.build_opener(mycookie)
 24     opened_badidu = opener.open(request)

//这是截取了部分的代码，我的目的是自动百度hi我的主页，之后获取里面的消息（比如，查

				]]></description>

				</item>
<item>

				<title>杭州, 招聘Python程序员5名 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743220</link>

  				<author>nodebus</author>
  				<pubDate>2012-05-14 17:01:23</pubDate>
				<description><![CDATA[

				作者: nodebus

				发表于: 2012-05-14 17:01:23 (GMT 8)

				简介：电信行业

采用erlang、python、c开发大规模网络监控系统

要求有python, django开发经验，熟悉javascript, jquery, css3, 熟悉MySQL或者PostgreSQL数据库

公司处于快速发展期，待遇面谈

联系邮箱: ery.lee at gmail.com

				]]></description>

				</item>
<item>

				<title>安装 oursql </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743217</link>

  				<author>nmyangmz</author>
  				<pubDate>2012-05-14 16:54:47</pubDate>
				<description><![CDATA[

				作者: nmyangmz

				发表于: 2012-05-14 16:54:47 (GMT 8)

				简介：如何在centos 安装oursql。请讲一下详细步骤。

				]]></description>

				</item>
<item>

				<title>看过了Python基础教程，接下来应该怎么做？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743167</link>

  				<author>polestar_li</author>
  				<pubDate>2012-05-14 15:03:07</pubDate>
				<description><![CDATA[

				作者: polestar_li

				发表于: 2012-05-14 15:03:07 (GMT 8)

				简介：看什么样的书可以继续提高？等等。

				]]></description>

				</item>
<item>

				<title>py导出数据时遇到的格式 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3743078</link>

  				<author>nmyangmz</author>
  				<pubDate>2012-05-14 13:57:38</pubDate>
				<description><![CDATA[

				作者: nmyangmz

				发表于: 2012-05-14 13:57:38 (GMT 8)

				简介：用py 脚本导出sqlserver 中的数据，文本中有 '\^@ ' ,sqlserver的原始数据是‘\’。这个‘^@’代表什么格式。大家是否遇到过！

				]]></description>

				</item>
<item>

				<title>请问如何在django中使用后台线程？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3742737</link>

  				<author>luckpiky</author>
  				<pubDate>2012-05-13 18:16:20</pubDate>
				<description><![CDATA[

				作者: luckpiky

				发表于: 2012-05-13 18:16:20 (GMT 8)

				简介：我的实现方法是创建一个叫deamon的模块，然后在这个模块中的__init__文件中加入创建线程的代码，这样就能在服务器起来时自动执行这段代码。
但不知道为什么每次都会自动执行2次，导致多了一个线程做了不必要的重复工作。不知道哪位大侠有好方法？
在网上搜索过，也有人发现会自动执行5次的情况。

				]]></description>

				</item>
<item>

				<title>求助urllib.urlretrieve的问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741935</link>

  				<author>ymc4444</author>
  				<pubDate>2012-05-12 00:29:15</pubDate>
				<description><![CDATA[

				作者: ymc4444

				发表于: 2012-05-12 00:29:15 (GMT 8)

				简介：在使用urllib.urlretrieve下载视频链接的时候能否让下载过程中sleep()一段时间，比如改urlretrieve函数本身也可以

				]]></description>

				</item>
<item>

				<title>代码简化 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741928</link>

  				<author>shihyu</author>
  				<pubDate>2012-05-11 23:03:39</pubDate>
				<description><![CDATA[

				作者: shihyu

				发表于: 2012-05-11 23:03:39 (GMT 8)

				简介：[i=s] 本帖最后由 shihyu 于 2012-05-12 02:08 编辑 [/i]

[code] 
f = open("111.txt", "r")
o = open("result.txt", "w")

for line in f:
    line = line.lstrip() 
    if line.find("AAAAA") > 0 or line.find("

				]]></description>

				</item>
<item>

				<title>日志分析计算效率问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741864</link>

  				<author>moartel</author>
  				<pubDate>2012-05-11 20:52:26</pubDate>
				<description><![CDATA[

				作者: moartel

				发表于: 2012-05-11 20:52:26 (GMT 8)

				简介：日志文件，每分钟大概1G的文件，需要分析入库

文件格式
xip:1.1.1.1 yip:2.2.2.2 zip:3.3.3.3 time(3434) /?abid=3455
xip:1.1.1.1 yip:2.2.2.2 zip:3.3.3.3 time(3434) /?abid=3455
xip:2.1.1.1 yip:2.2.2.2 zip:3.3.3.3 time(3434) /

				]]></description>

				</item>
<item>

				<title>有没有简单的运算表达式解释器？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741627</link>

  				<author>lonsoft</author>
  				<pubDate>2012-05-11 14:23:14</pubDate>
				<description><![CDATA[

				作者: lonsoft

				发表于: 2012-05-11 14:23:14 (GMT 8)

				简介：比如用户输入一个简单的字符串： 10+2-1 

可以将这个字符串的结果 11 返回来。

				]]></description>

				</item>
<item>

				<title>请问import自己的类时，是否一定要放在同一个目录里？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741612</link>

  				<author>wqjwftcaqr</author>
  				<pubDate>2012-05-11 13:55:29</pubDate>
				<description><![CDATA[

				作者: wqjwftcaqr

				发表于: 2012-05-11 13:55:29 (GMT 8)

				简介：比如我要import 自己的一个类叫CreateExcel,那我必须把这个类和运行的脚本放在同一文件夹才能运行。如 import CreateExcel

怎么运行不同目录的类文件，像这样import D:\\CreateExcel

??可不可以，或者其他的什么方法？

				]]></description>

				</item>
<item>

				<title>eclipse安装python插件，Error getting info on interpreter </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741226</link>

  				<author>gswsweet</author>
  				<pubDate>2012-05-10 18:55:04</pubDate>
				<description><![CDATA[

				作者: gswsweet

				发表于: 2012-05-10 18:55:04 (GMT 8)

				简介：打开Eclipse（如果已经打开，则重启Eclipse）。选择window—>Presences:
[attach]532658[/attach]
之后出现问题：
[attach]532659[/attach]

				]]></description>

				</item>
<item>

				<title>抽取数据 集思广益 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741178</link>

  				<author>nmyangmz</author>
  				<pubDate>2012-05-10 16:37:50</pubDate>
				<description><![CDATA[

				作者: nmyangmz

				发表于: 2012-05-10 16:37:50 (GMT 8)

				简介：
数据抽数（数据库oracle mysql sqlserver）
例如emp中有100W的数据,用python 抽取所有的数据并生成文本，但是emp有新数据入库时，这样一来，我如何不间断的抽取数据？数据库中又有什么方法可以借用呢？（由于数据量很大，在处理时不能使用count(1)来判断数据量的大小）
例如
py抽取100条数据时，这时有10条新数据入库，如何把这10条也抽取到？谢谢M

				]]></description>

				</item>
<item>

				<title>python django 数据接收丢失 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741099</link>

  				<author>x631084848</author>
  				<pubDate>2012-05-10 14:16:09</pubDate>
				<description><![CDATA[

				作者: x631084848

				发表于: 2012-05-10 14:16:09 (GMT 8)

				简介：python django 数据接收丢失

我是用ext 的前端,get方式传送，4个参数，其中两个（一个日期，一个字符串）到后端是接受到数据，还有两个时间参数后端没接到，
 这会是什么原因呢

：同样的传送/接收方式，url也不长……


				]]></description>

				</item>
<item>

				<title>SyntaxError: invalid token </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3741087</link>

  				<author>asdmonster</author>
  				<pubDate>2012-05-10 13:53:09</pubDate>
				<description><![CDATA[

				作者: asdmonster

				发表于: 2012-05-10 13:53:09 (GMT 8)

				简介：rt,phthon 3.2 安装scons的时候出的这个错,出错行是:

                    mode = ((os.stat(file)[stat.ST_MODE]) | 0555) & 07777


该怎么改?

				]]></description>

				</item>
</channel>
</rss>
