<?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-02-09 05:02:39</lastBuildDate>
<item>

				<title>请问：在字典中， 怎么绑定字典的值而不是字典本身？ 谢谢 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3669035</link>

  				<author>ANNIMAL</author>
  				<pubDate>2012-02-08 23:36:14</pubDate>
				<description><![CDATA[

				作者: ANNIMAL

				发表于: 2012-02-08 23:36:14 (GMT 8)

				简介：比如
L1={'a':1,'b':2}
我想建立一个L2，让它的值和L1的完全相同，但是L2的改变不要影响L1，
就是如果用
L2=L1
然后
L2['c']=3
这样就改变了L1


请问该怎么操作？

				]]></description>

				</item>
<item>

				<title>检查某个ip是否是自己本机配置的ip </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668898</link>

  				<author>iceyes342</author>
  				<pubDate>2012-02-08 15:25:39</pubDate>
				<description><![CDATA[

				作者: iceyes342

				发表于: 2012-02-08 15:25:39 (GMT 8)

				简介：RT，有什么办法我能检查输入的ip是否是本机网上上设置的ip？
谢谢

				]]></description>

				</item>
<item>

				<title>求助，python采集一个网页的翻页网址 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668887</link>

  				<author>predatorymh</author>
  				<pubDate>2012-02-08 15:00:48</pubDate>
				<description><![CDATA[

				作者: predatorymh

				发表于: 2012-02-08 15:00:48 (GMT 8)

				简介：[url]http://www.hi.si.gov.cn/Aspx/BianMin_More.aspx?ChannelID=19&ClassID=1906[/url]
此网址的post翻页除了页数变量外还有个__EVENTVALIDATION随机变量，求教高手能如何采集翻页？

				]]></description>

				</item>
<item>

				<title>求PDF。笨办法学 Python （Learn Python The Hard Way）谁有？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668875</link>

  				<author>haokeyy</author>
  				<pubDate>2012-02-08 14:45:58</pubDate>
				<description><![CDATA[

				作者: haokeyy

				发表于: 2012-02-08 14:45:58 (GMT 8)

				简介：谁有 笨办法学 Python （Learn Python The Hard Way） 第二版的中文翻译的PDF文档。

				]]></description>

				</item>
<item>

				<title>[图] csv.reader 处理中文字符乱码 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668820</link>

  				<author>hbsbjerry</author>
  				<pubDate>2012-02-08 13:20:05</pubDate>
				<description><![CDATA[

				作者: hbsbjerry

				发表于: 2012-02-08 13:20:05 (GMT 8)

				简介：[i=s] 本帖最后由 hbsbjerry 于 2012-02-08 13:23 编辑 [/i]

在windows上将一个包含中文字符的xls文件转存为了一个csv文件，存为ANSI方式，然后传送到linux开发环境里,

代码一：

#!/usr/bin/python
print open('/py/materiels/MARecANSI.csv').read().[color=Re

				]]></description>

				</item>
<item>

				<title>求教安装mypysql-0.5.5报错？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668677</link>

  				<author>spouter</author>
  				<pubDate>2012-02-08 08:50:57</pubDate>
				<description><![CDATA[

				作者: spouter

				发表于: 2012-02-08 08:50:57 (GMT 8)

				简介：centos 5.4系统，安装时候包这个错，系统里已经安装mysql且在使用状态。

[root@DXT209 mypysql-0.5.5]# /usr/local/bin/python3.2 ./setup.py install
running install
running build
running build_py
running build_ext
building 'my

				]]></description>

				</item>
<item>

				<title>求python实现替换 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668586</link>

  				<author>fufelixzh</author>
  				<pubDate>2012-02-07 16:51:56</pubDate>
				<description><![CDATA[

				作者: fufelixzh

				发表于: 2012-02-07 16:51:56 (GMT 8)

				简介：我想把很多的音乐文件名变成首字母大写，其余小写。
比如:j.s. bach- jesus bleibet meine freude. 要将它变成J.S. Bach- Jesus Bleibet Meine Freude.
再如有些有括号的：heidenroslein (d257)要变成Heidenroslein (D257)
求这样的shell语言

				]]></description>

				</item>
<item>

				<title>【新手求助】在txt文件里查找所有“http://xx.xx.xx.xx/router.xml&quot; </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668426</link>

  				<author>xiangkanjian</author>
  				<pubDate>2012-02-07 10:57:12</pubDate>
				<description><![CDATA[

				作者: xiangkanjian

				发表于: 2012-02-07 10:57:12 (GMT 8)

				简介：新手求助:

想写一个程序：在txt文件里查找所有“[url]http://xx.xx.xx.xx/router.xml[/url]"打印到列表，然后逐个读取，并将每个xml文件下载到本地。

希望得到大虾的帮助？

				]]></description>

				</item>
<item>

				<title>【招聘】幸福科技找Python工程师 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668380</link>

  				<author>ipanbin</author>
  				<pubDate>2012-02-07 09:44:59</pubDate>
				<description><![CDATA[

				作者: ipanbin

				发表于: 2012-02-07 09:44:59 (GMT 8)

				简介：北京人本幸福科技文化有限公司，成立于2010年12月24日，平安夜。
幸福和平安是设立企业的初心。 

公司目前有三条产品线，分别是数字出版、航空终端和商务社交。数字出版已推出包括知乎周刊在内的5本iPad电子杂志；航空终端是在飞机上铺设平板电脑，并开发阅读、影音、游戏等软件产品；商务社交，公司已领投创办一家商务社交企业——福建幸福商道，建立起1500多人的企业家俱乐部，未来俱乐部成员将通过

				]]></description>

				</item>
<item>

				<title>【求助】如何用python提取二进制文件中的字符串 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668363</link>

  				<author>huatuo20002008</author>
  				<pubDate>2012-02-07 09:12:50</pubDate>
				<description><![CDATA[

				作者: huatuo20002008

				发表于: 2012-02-07 09:12:50 (GMT 8)

				简介：在linux shell中通过strings命令可以提取二进制文件中的所有字符串，请教在python中如何提取？

				]]></description>

				</item>
<item>

				<title>请教处理文件简单方法 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668288</link>

  				<author>lv12321</author>
  				<pubDate>2012-02-06 18:01:57</pubDate>
				<description><![CDATA[

				作者: lv12321

				发表于: 2012-02-06 18:01:57 (GMT 8)

				简介：[code]
D:\ss>type cs.py
import sys
def serip(ipfile,m):
        f=open(ipfile,'r')
        for i in f:
            i=i.split(":")
            if i[0]==m and i[0][0]!='#':
                print

				]]></description>

				</item>
<item>

				<title>[Python][sqlalchemy] 请教如何删除/修改一个用户的多对多映射记录？ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668270</link>

  				<author>huhuegg</author>
  				<pubDate>2012-02-06 17:02:20</pubDate>
				<description><![CDATA[

				作者: huhuegg

				发表于: 2012-02-06 17:02:20 (GMT 8)

				简介：[i=s] 本帖最后由 huhuegg 于 2012-02-06 17:08 编辑 [/i]

PtermUser表和UserGroup表有多对多关系，保存在UserGroupMember表中
请教如何删除/修改一个用户的多对多映射记录？
是在turbogears2中使用的

例如: PtermUser表中有一条UserID=1的用户记录，UserGroup表中有3条记录，分别为UserG

				]]></description>

				</item>
<item>

				<title>为什么python开发的网站比php开发的速度要慢，纯python开发网站比php开发的有哪些差距 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668227</link>

  				<author>wzy00008</author>
  				<pubDate>2012-02-06 14:58:52</pubDate>
				<description><![CDATA[

				作者: wzy00008

				发表于: 2012-02-06 14:58:52 (GMT 8)

				简介：为什么python开发的网站比php开发的速度要慢，纯python开发网站比php开发的有哪些差距

				]]></description>

				</item>
<item>

				<title>sae(sina app engine)上的博客程序 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668202</link>

  				<author>zzjcs1971</author>
  				<pubDate>2012-02-06 13:53:50</pubDate>
				<description><![CDATA[

				作者: zzjcs1971

				发表于: 2012-02-06 13:53:50 (GMT 8)

				简介：gae在墙外，自己玩还可以，但国内访问不方便，于是在sae上基于Django搭建了一个博客程序，大家给提提建议。
网址：[url]http://zhangzhaojun.sinaapp.com[/url]

				]]></description>

				</item>
<item>

				<title>新手求教，怎么在正则表达式中加入循环语句，（详见帖内）麻烦知道的高手了 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668167</link>

  				<author>dukezfx</author>
  				<pubDate>2012-02-06 12:08:01</pubDate>
				<description><![CDATA[

				作者: dukezfx

				发表于: 2012-02-06 12:08:01 (GMT 8)

				简介：谷歌百度了一上午没结果，不知道可不可以做到 
代码
import re
def mfhy():
    m.set(cn("执行任务中…"))
    get('http://gyx1.wap.com/fantasy/i.php?ct=plan&ac=home&session=' sid '&link=town&v=1')
    det = data.replace('amp;', 

				]]></description>

				</item>
<item>

				<title>新手求教，怎么在正则表达式中加入循环语句，（详见帖内）麻烦知道的高手了 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668166</link>

  				<author>dukezfx</author>
  				<pubDate>2012-02-06 12:06:16</pubDate>
				<description><![CDATA[

				作者: dukezfx

				发表于: 2012-02-06 12:06:16 (GMT 8)

				简介：谷歌百度了一上午没结果，不知道可不可以做到 
代码
import re
def mfhy():
    m.set(cn("执行任务中…"))
    get('http://gyx1.wap.com/fantasy/i.php?ct=plan&ac=home&session=' sid '&link=town&v=1')
    det = data.replace('amp;', 

				]]></description>

				</item>
<item>

				<title>python 用 xmlrpclib连接aria2c的问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668152</link>

  				<author>dshbusiness</author>
  				<pubDate>2012-02-06 11:32:43</pubDate>
				<description><![CDATA[

				作者: dshbusiness

				发表于: 2012-02-06 11:32:43 (GMT 8)

				简介：大家好，我python新手，写了如下得代码，但是总是显示连接被拒绝，请高手看看是怎么回事，哪里有错？[code]#!/usr/bin/env python
# -*- coding:utf-8 -*-

import xmlrpclib
import subprocess
import threading

class test(threading.Thread):
	def __

				]]></description>

				</item>
<item>

				<title>Python 建立SSL连接的问题 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668140</link>

  				<author>rore123</author>
  				<pubDate>2012-02-06 11:02:57</pubDate>
				<description><![CDATA[

				作者: rore123

				发表于: 2012-02-06 11:02:57 (GMT 8)

				简介：在solaris下用python实现一个客户端，与服务器建立SSL连接。服务器端是用openSSL实现的。自己查阅了一些资料，一会说安装SSL模块，一会说安装openSSL, 搞晕了还没弄清楚。请问各位到底要安装哪些东西，python有没有自带的模块可以实现？？？

谢谢！

				]]></description>

				</item>
<item>

				<title>照着telnetlib里面的例子写了个telnet win2003的无响应 </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3668029</link>

  				<author>amber112</author>
  				<pubDate>2012-02-05 19:19:24</pubDate>
				<description><![CDATA[

				作者: amber112

				发表于: 2012-02-05 19:19:24 (GMT 8)

				简介：照着telnetlib里面的例子写了个telnet win2003的，发现没响应，各位帮忙看看问题处在哪了，谢谢[code]# -*- coding: gbk -*-
import getpass
import sys
import telnetlib

HOST = "172.0.12.3"
user = "administrator"
password ="abcd1234"


				]]></description>

				</item>
<item>

				<title>Python Tkinter 大神请进！ </title>

				<link>http://bbs.chinaunix.net/viewthread.php?tid=3667969</link>

  				<author>414195063</author>
  				<pubDate>2012-02-05 11:30:02</pubDate>
				<description><![CDATA[

				作者: 414195063

				发表于: 2012-02-05 11:30:02 (GMT 8)

				简介：下面是一段在window内创建x个按键的代码，function a（）的作用是将被点击的按键的text属性改为‘123456’。但实际情况是，function a()只会改变最后一个创建的按键（在这里是第三个按键），而不是被点击的按键，不知道有没有什么方法解决这个问题
def a():
    button['text'] = '123456'
x = 0
while x != 3:
 

				]]></description>

				</item>
</channel>
</rss>
