We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我的第一个 Python 网络项目是为 NFC 聊天服务器编写一个 GUI 聊天客户端 https://sourceforge.net/projects /nfcchat/。这是 5-6 年前的事了 - 所以我不确定该项目发生了多大变化......但命令集非常 IRC 风格。甚至没有必要深入研究 Java 代码库来弄清楚它。我通过远程登录到聊天服务器的端口并发出帮助命令来了解大部分协议。您还可以使用 Wireshark 来监听其规范客户端的流量。
如果我没记错的话,我最终在该项目中使用了以下内容:
编辑:或者您可以尝试 XMPP: http://www.ietf.org/rfc/rfc3920.txt
My first Python networking project was to write a GUI chat client for the NFC Chat server https://sourceforge.net/projects/nfcchat/. This was 5-6 years ago - so I'm not sure how much the project has changed.... But the command set was very IRC-ish. It's not even necessary to dive into the Java codebase to figure it out. I figured out most of the protocol by telneting to the chat server's port and issuing help commands. You could also use Wireshark to snoop traffic with their canonical client.
If I remember correctly, I ended up using the following for the project:
Edit: Or you can try XMPP: http://www.ietf.org/rfc/rfc3920.txt
我的第一个网络项目是一个网络蜘蛛,它遍历网络(显然),并创建一个数据库用作搜索引擎。
蜘蛛& Python 中的网络搜索引擎(我在网页中使用了 mod_python,但我推荐
Django
),以及 MySQL 中的数据库。创建一个 GUI 来管理 DB 或 Spider(或两者,由您决定)。
最终使用:
My first net project was a web spider that traversed the web (Obviously), and created a DB to be used as a search engine.
Spider & web search engine in Python (I used mod_python for the web page, but I'd recommend
Django
), and the DB in MySQL.Create a GUI for managing the DB or Spider (Or both, up to you).
Ended up using: