<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>吾知网 - nodejs/python</title>
    <link>http://www.5g99.com/bbs/forum-76-1.html</link>
    <description>Latest 20 threads of nodejs/python</description>
    <copyright>Copyright(C) 吾知网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 13 Jun 2026 21:31:37 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.5g99.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>吾知网</title>
      <link>http://www.5g99.com/bbs/</link>
    </image>
    <item>
      <title>通过python的hashlib模块计算一个文件的MD5值</title>
      <link>http://www.5g99.com/bbs/thread-367418-1-1.html</link>
      <description><![CDATA[Python的hashlib提供了很多摘要算法，如MD5，SHA1等常用算法。&amp;nbsp; 什么是摘要算法呢？摘要算法又称哈希算法、散列算法。它通过一个函数，把任意长度的数据转换为一个长度固定的数据串（如MD5值共32位，且每位都是用16进制进行表示）。&amp;nbsp; 摘要算法就是通过摘要函 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Fri, 25 Jan 2019 03:56:53 +0000</pubDate>
    </item>
    <item>
      <title>Python爬虫-正则</title>
      <link>http://www.5g99.com/bbs/thread-367417-1-1.html</link>
      <description><![CDATA[前言
想说正则的知识点并不多，需要思考地方却不少。python里提取数据的方式很多，但私以为掌握那些中的某一个的同时，一定要兼顾正则。主观推崇原因有二，一：re是python的基本库，不需要额外安装且解析速度快；二：正则能做到xpatn、BeautifulSoup、PyQuery可以做到 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Thu, 24 Jan 2019 07:14:14 +0000</pubDate>
    </item>
    <item>
      <title>Python 汉字简体和繁体的相互转换</title>
      <link>http://www.5g99.com/bbs/thread-367416-1-1.html</link>
      <description><![CDATA[其实利用python实现汉字的简体和繁体相互转早有人做过,并发布到github上了,地址:https://github.com/skydark/nstools/tree/master/zhtools该项目还有其他很多跟汉字相关的功能,本文只介绍繁体和简体相互转换具体方法很简单,下载该项目中的&amp;nbsp;zh_wiki.py &amp;nbsp;和&amp;nbs ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Sat, 19 Jan 2019 06:13:05 +0000</pubDate>
    </item>
    <item>
      <title>python中digest()和hexdigest()区别</title>
      <link>http://www.5g99.com/bbs/thread-367415-1-1.html</link>
      <description><![CDATA[hashlib是涉及安全散列和消息摘要，提供多个不同的加密算法接口，如SHA1、SHA224、SHA256、SHA384、SHA512、MD5等。其中hash.digest()&amp;nbsp;返回摘要，作为二进制数据字符串值hash.hexdigest()&amp;nbsp;返回摘要，作为十六进制数据字符串值&amp;nbsp;举个例子import hashlib
 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Thu, 17 Jan 2019 03:21:19 +0000</pubDate>
    </item>
    <item>
      <title>在python上调用cmd中文乱码</title>
      <link>http://www.5g99.com/bbs/thread-367414-1-1.html</link>
      <description><![CDATA[os.system(\'dir\')
解决方法加上

os.system(\'chcp 65001\')
注：CHCP是一个计算机指令，能够显示或设置活动代码页编号。
代码页 描述
65001 UTF-8代码页
950繁体中文
936简体中文默认的GBK
437 MS-DOS美国英语
但是通过CHCP设置编码是治标不治本的
想永久的更 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 16 Jan 2019 13:47:42 +0000</pubDate>
    </item>
    <item>
      <title>Python模块: 命令行解析optionparser</title>
      <link>http://www.5g99.com/bbs/thread-367413-1-1.html</link>
      <description><![CDATA[Python 有两个内建的模块用于处理命令行参数：一个是 getopt，《Deep in python》一书中也有提到，只能简单处理 命令行参数；另一个是 optparse，它功能强大，而且易于使用，可以方便地生成标准的、符合Unix/Posix 规范的命令行说明。使用optionparser模块来解析optionp ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 16 Jan 2019 11:16:11 +0000</pubDate>
    </item>
    <item>
      <title>python 中的[::-1]</title>
      <link>http://www.5g99.com/bbs/thread-367412-1-1.html</link>
      <description><![CDATA[for value in rang(10)涉及的数字倒序输出：　　for value in rang(10)[::-1]涉及的数字倒序输出：一、反转
二、详解这个是python的slice notation的特殊用法。a = [0,1,2,3,4,5,6,7,8,9]
b = a 表示复制a到a[j-1]，以生成新的list对象
b = a[1:3] 那么，b的内容是 [ ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 16 Jan 2019 08:24:28 +0000</pubDate>
    </item>
    <item>
      <title>python编程中的if __name__ == \'main\': 的作用和原理</title>
      <link>http://www.5g99.com/bbs/thread-367411-1-1.html</link>
      <description><![CDATA[在大多数编排得好一点的脚本或者程序里面都有这段if __name__ == \'main\': ，虽然一直知道他的作用，但是一直比较模糊，收集资料详细理解之后与打架分享。&amp;nbsp; &amp;nbsp;1、这段代码的功能&amp;nbsp; &amp;nbsp;一个python的文件有两种使用的方法，第一是直接作为脚本执行，第二是 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 16 Jan 2019 07:43:16 +0000</pubDate>
    </item>
    <item>
      <title>python中%代表什么意思</title>
      <link>http://www.5g99.com/bbs/thread-367410-1-1.html</link>
      <description><![CDATA[python中%：
1. 求模运算，相当于mod，也就是计算除法的余数，比如5%2就得到1。
2. %还用在python的格式化输出，比如：
     a = \'test\'
     print \'it is a %s\' %(a)
     打印的结果就是 it is a test]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 16 Jan 2019 07:41:48 +0000</pubDate>
    </item>
    <item>
      <title>对于游戏服务器的一些思考和研究</title>
      <link>http://www.5g99.com/bbs/thread-367403-1-1.html</link>
      <description><![CDATA[客户端已经写了五六年了，但是并没有写过服务器。现在有相关的需求，希望能够以比较省时省力的方式完成服务器的开发。经验比较浅，所以以下言论只是个人观点和吐槽。


          我对服务器技术的理解是这样的。做到京东、阿里这么大的规模的时候，对数据一致性、容 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Sun, 06 Jan 2019 13:25:45 +0000</pubDate>
    </item>
    <item>
      <title>websocket 与Socket.IO区别</title>
      <link>http://www.5g99.com/bbs/thread-367276-1-1.html</link>
      <description><![CDATA[一  websocketWebSocket是html5新增加的一种通信协议，目前流行的浏览器都支持这个协议，例如 Chrome，Safrie，Firefox，Opera，IE等等，对该协议支持最早的应该是chrome，从chrome12就已经开始支持，随着协 议草案的不断变化，各个浏览器对协议的实现也在不停的更新。 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Fri, 09 Feb 2018 06:02:55 +0000</pubDate>
    </item>
    <item>
      <title>Node.js + Web Socket 打造即时聊天程序嗨聊</title>
      <link>http://www.5g99.com/bbs/thread-367274-1-1.html</link>
      <description><![CDATA[前端一直是一块充满惊喜的土地，不仅是那些富有创造性的页面，还有那些惊赞的效果及不断推出的新技术。像node.js这样的后端开拓者直接将前端人员的能力扩大到了后端。瞬间就有了一统天下的感觉，来往穿梭于前后端之间代码敲得飞起，从此由前端晋升为\'前后端\'。图片来自G ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Thu, 08 Feb 2018 06:33:48 +0000</pubDate>
    </item>
    <item>
      <title>Python几种常见框架</title>
      <link>http://www.5g99.com/bbs/thread-367106-1-1.html</link>
      <description><![CDATA[从GitHub中整理出的15个最受欢迎的Python开源框架。这些框架包括事件I/O，OLAP，Web开发，高性能网络通信，测试，爬虫等。Django: Python Web应用开发框架
Django 应该是最出名的Python框架，GAE甚至Erlang都有框架受它影响。Django是走大而全的方向，它最出名的是其全 ...]]></description>
      <category>nodejs/python</category>
      <author>jekeyhui99</author>
      <pubDate>Wed, 27 Sep 2017 12:47:07 +0000</pubDate>
    </item>
  </channel>
</rss>