Python论坛  - 讨论区

标题:[python-chinese] 谁知道怎么反编译由py2exe编译出来的exe啊。

2005年09月24日 星期六 14:55

Leo Jay python.leojay at gmail.com
Sat Sep 24 14:55:23 HKT 2005

我的源代码不小心被我删除了……哭死,昨天写了一晚上的,写到早上5点才写好的呀。

哪位知道的教教我吧。哭死了……

谢谢了

--
Best Regards,
Leo Jay

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 14:59

Kai kai0001 at 163.com
Sat Sep 24 14:59:55 HKT 2005

今天在网上查询了很久,给我的总的印象是,目前还没有一个完全由 python 实现的包含服务器和客户端的internet对战系统(类似联众或tom围棋的系统)。
以下是找到一些有关的资料。 (Zoomq: 不好意思还没来得及学会怎样用那个网上平台,只好先发在这里了。)

----开源python围棋项目 ---
uliGo 是一个python写的桌面软件
http://www.u-go.net/uligo/
uliGo is a program to practice solving go problems.


pggo 客户端程序
http://www.pygame.org/projects/22/74/?release_id=82
Description
pggo is a simple interface to gnugo and other programs that support the GTP protocol, 
the successor to the older GMP protocol. It has automatic scoring at the end of the game。



--- 开源python棋牌(非围棋)项目 ---

Python Hex 桌面软件
http://eric_rollins.home.mindspring.com/phex/index.html
The goal in hex is simple. Red moves first, and each player alternates placing stones anywhere 
on the board. Red tries to form an unbroken chain of stones between top and bottom, blue 
between left and right. The first player to achieve an unbroken chain wins. 


PySol 桌面软件
http://www.pysol.org/
Abstract
PySol is an exciting collection of more than 200 solitaire card games. Its features include support 
for lots of distinct games, very nice look and feel, multiple cardsets and table tiles, sound and 
background music, unlimited undo & redo, load & save games, player statistics and log files,
hint system, demo games, support for user written plug-ins, integrated HTML help browser 
and lots of documentation.


ginanh 0.3.0 Multiplayer RPG game with both text and graphical user interfaces 网络游戏
http://www.python.org/pypi/ginanh/0.3.0
Description  	
Ginanh is a multiplayer, network RPG game. Our goal is to combine features of
various games and give a free hand to player in interacting with surrounding.
Ginanh is supposed to be easily extendable with an ability to create scenarios,
maps and objects. So you can use Ginanh to create your own version of
the game, not only RPG-like.


PyChess 1.0.2a 桌面软件
http://www.alcyone.com/software/chess/
Description  	
A simple chess game adjudicator。This Python module does not know how to *play* chess, but does
 understand the rules enough that it can watch moves and verify that they are correct.




--- 其他开源项目 ---
gnugo (C++)
http://www.gnu.org/software/gnugo/
GNU Go is a free program that plays the game of Go. GNU Go has played thousands of games on the NNGS Go server. GNU Go is now also playing regularly on the Legend Go Server in Taiwan, on the WING server in Japan, and many volunteers run GNU Go clients on KGS. GNU Go has established itself as the leading non-commercial go program in the recent tournaments that it has taken part in.


JagoClient, the Java Go Client and SGF editor
http://www.rene-grothmann.de/jago/
JagoClient is an
    * IGS (Internet Go Server) client,
    * a SGF (Smart Go Format) go game viewer and
    * a point to point go player.


Play Atari-Go (Java applet with source code)
http://igo.resurse.com/Java/Goapplet.html

用C写的服务器端的程序 (suggested by wang bin)
http://sourceforge.net/projects/nngs/


Two-dimensional cellular automata can be used to evaluate final board positions in the game of Go.
http://eric_rollins.home.mindspring.com/go.html


Go Tools Project
http://gotools.sourceforge.net/
The purpose of the Go Tools Project is:
To encourage, develop, and distribute open-source software and tools related to the game of go.
To maintain a set of links to other go-related open-source development projects and resources. 




--- 其他python资源 ---

Twisted
http://twistedmatrix.com/	
Twisted is an event-driven networking framework written in Python and licensed under the MIT license.
Twisted projects variously support TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more.

Pygame
http://www.pygame.org





[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 15:10

Qiangning Hong hongqn at gmail.com
Sat Sep 24 15:10:47 HKT 2005

Leo Jay wrote:
> 我的源代码不小心被我删除了……哭死,昨天写了一晚上的,写到早上5点才写好的呀。
> 
> 哪位知道的教教我吧。哭死了……
> 
> 谢谢了

py2exe生成的dist目录下有一个sharedlib文件(根据你的setup.py文件名可能不
同),这是个zip文件,解开以后就有一堆.pyo文件,都是从你的源代码编译出来
的。接下来就是怎么从pyo反编译到py了,这个我不会,你再上网找找。


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=1>
Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=183>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 15:45

shhgs shhgs.efhilt at gmail.com
Sat Sep 24 15:45:48 HKT 2005

你用什么编辑器写的,如果是ue或者vim应该是自动做备份的,到备份目录里去找找。

On 9/24/05, Qiangning Hong <hongqn at gmail.com> wrote:
> Leo Jay wrote:
> > 我的源代码不小心被我删除了……哭死,昨天写了一晚上的,写到早上5点才写好的呀。
> >
> > 哪位知道的教教我吧。哭死了……
> >
> > 谢谢了
>
> py2exe生成的dist目录下有一个sharedlib文件(根据你的setup.py文件名可能不
> 同),这是个zip文件,解开以后就有一堆.pyo文件,都是从你的源代码编译出来
> 的。接下来就是怎么从pyo反编译到py了,这个我不会,你再上网找找。
>
>
> --
> Qiangning Hong
> http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
>
> Registered Linux User #396996
> Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=1>
> Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=183>
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 16:11

Leo Jay python.leojay at gmail.com
Sat Sep 24 16:11:01 HKT 2005

我嫌ue的备份太麻烦每个文件都生成一个bak文件,关掉了。 :(

以后单机我也架一个CVS算了。哭死,写了十几个小时的程序就这样没了……

On 9/24/05, shhgs <shhgs.efhilt at gmail.com> wrote:
> 你用什么编辑器写的,如果是ue或者vim应该是自动做备份的,到备份目录里去找找。
>
> On 9/24/05, Qiangning Hong <hongqn at gmail.com> wrote:
> > Leo Jay wrote:
> > > 我的源代码不小心被我删除了……哭死,昨天写了一晚上的,写到早上5点才写好的呀。
> > >
> > > 哪位知道的教教我吧。哭死了……
> > >
> > > 谢谢了
> >
> > py2exe生成的dist目录下有一个sharedlib文件(根据你的setup.py文件名可能不
> > 同),这是个zip文件,解开以后就有一堆.pyo文件,都是从你的源代码编译出来
> > 的。接下来就是怎么从pyo反编译到py了,这个我不会,你再上网找找。
> >
> >
> > --
> > Qiangning Hong
> > http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
> >
> > Registered Linux User #396996
> > Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=1>
> > Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=183>
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> >
>
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>
>
>


--
Best Regards,
Leo Jay

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 16:14

Leo Jay python.leojay at gmail.com
Sat Sep 24 16:14:33 HKT 2005

我的源文件叫hjparser.py,生成的是hjparser.exe,我用ue打开hjparser.exe,看到了一部分程序,比方说函数,注释什么的。应该在这个exe文件里,可是,怎么反编译出来呢?

On 9/24/05, Qiangning Hong <hongqn at gmail.com> wrote:
> py2exe生成的dist目录下有一个sharedlib文件(根据你的setup.py文件名可能不
> 同),这是个zip文件,解开以后就有一堆.pyo文件,都是从你的源代码编译出来
> 的。接下来就是怎么从pyo反编译到py了,这个我不会,你再上网找找。
>
>
> --
> Qiangning Hong
> http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
>
> Registered Linux User #396996
> Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=1>
> Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=183>


--
Best Regards,
Leo Jay

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 19:04

张骏 zhangj at foreseen-info.com
Sat Sep 24 19:04:25 HKT 2005

exe里面不会有源码的,只有字节码。你还需要把字节码转换回源码。
目前好像还没有反编译的方法。

如果你有耐心的话,可以用python的dis模块把字节码转换为可读的伪码
然后自己再重写源码。

总之,你得重写一遍了。就当个教训了。

----------------------- Original Message -----------------------
From:    Leo Jay <python.leojay at gmail.com>
To:      python-chinese at lists.python.cn
Date:    Sat, 24 Sep 2005 16:14:33 +0800
Subject: Re: [python-chinese] 谁知道怎么反编译由py2exe编译出来的exe啊。
----------------------------------------------------------------
> 我的源文件叫hjparser.py,生成的是hjparser.exe,我用ue打开hjparser.exe,看到了一部分程序,比方说函数,注释什么的。应该在这个exe文件里,可是,怎么反编译出来呢?
> 
> On 9/24/05, Qiangning Hong <hongqn at gmail.com> wrote:
> > py2exe生成的dist目录下有一个sharedlib文件(根据你的setup.py文件名可能不
> > 同),这是个zip文件,解开以后就有一堆.pyo文件,都是从你的源代码编译出来
> > 的。接下来就是怎么从pyo反编译到py了,这个我不会,你再上网找找。
> >
> >
> > --
> > Qiangning Hong
> > http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
> >
> > Registered Linux User #396996
> > Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=1>
> > Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id;=67907&t;=183>
> 
> 
> --
> Best Regards,
> Leo Jay

--------------------- Original Message Ends --------------------


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月24日 星期六 19:25

Wang Kebo mep_ at 163.com
Sat Sep 24 19:25:24 HKT 2005

张骏 wrote:
> exe里面不会有源码的,只有字节码。你还需要把字节码转换回源码。
> 目前好像还没有反编译的方法。

可以找到字节码吗?不是有个反编译工具叫decompyledecompyle
__
Best Regards,

Kebo Wang

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月26日 星期一 09:34

slowness_chen chenzh at bhh.com.cn
Mon Sep 26 09:34:41 HKT 2005

try FinalData
i recovered source files successfully by it.
make sure the drive your source files was on not being updated/changed after
that deletion.
good luck.
----- Original Message -----
From: "Leo Jay" <python.leojay at gmail.com>
To: <python-chinese at lists.python.cn>
Sent: Saturday, September 24, 2005 2:55 PM
Subject: [python-chinese] 谁知道怎么反编译由py2exe编译出来的exe啊。


> 我的源代码不小心被我删除了……哭死,昨天写了一晚上的,写到早上5点才写好的
呀。
>
> 哪位知道的教教我吧。哭死了……
>
> 谢谢了
>
> --
> Best Regards,
> Leo Jay
>


----------------------------------------------------------------------------
----


> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>



[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年09月26日 星期一 12:31

goopler alang.yl at gmail.com
Mon Sep 26 12:31:40 HKT 2005

试一下FinalData,硬盘数据恢复工具。很牛插的。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050926/511f83d9/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号