On Jun 17, 8:29 pm, John Machin wrote:
> On Jun 17, 1:40 pm, higer wrote:
>
> > My Python version is 2.5.2; When I reading the bytecode of some pyc
> > file, I always found that there are many jump command from different
> > position,but to the same position. You c
Hi,all:
I'm sorry that I did not make my question clear. What I mean is that
what the souce code would look like that will be compiled to such
bytecodes.
Regards,
higer
--
http://mail.python.org/mailman/listinfo/python-list
My Python version is 2.5.2; When I reading the bytecode of some pyc
file, I always found that there are many jump command from different
position,but to the same position. You can see this situation in
following code(this bytecode is just from one .pyc file and I don't
have its source .py file):
.
On Jun 12, 4:55 pm, higer wrote:
> Maybe everyone know that decompyle(hosted on SourceForge.net) is a
> tool to transfer a .pyc file to .py file and now it does only support
> Python 2.3 or the below. I have found a project named unpyc which can
> support Python version 2.5. Unpy
Maybe everyone know that decompyle(hosted on SourceForge.net) is a
tool to transfer a .pyc file to .py file and now it does only support
Python 2.3 or the below. I have found a project named unpyc which can
support Python version 2.5. Unpyc project is build on decompyle which
is hosted on google co
On Jun 11, 11:44 am, Chris Rebert wrote:
> On Wed, Jun 10, 2009 at 8:11 PM, higer wrote:
> > I just want to compare two files,one from windows and the other from
> > unix. But I do not want to compare them through reading them line by
> > line. Then I found there is a filecmp
On Jun 11, 1:08 pm, John Machin wrote:
> Chris Rebert rebertia.com> writes:
>
>
>
>
>
> > On Wed, Jun 10, 2009 at 8:11 PM, higer gmail.com> wrote:
> > > I just want to compare two files,one from windows and the other from
> > > unix. But I do not w
IgnoreNewline
which can ignore the difference of new line flag in diffrent
platforms? If not,I think filecmp may be not a good file comparison
module.
Thanks,
higer
--
http://mail.python.org/mailman/listinfo/python-list
Thank you Mark,
that works.
Firstly using 'string-escape' to decode the content is the key
point,so I can get the Chinese characters now.
Regards,
-higer
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 8, 8:20 am, MRAB wrote:
> John Machin wrote:
> > On Jun 8, 12:13 am, "R. David Murray" wrote:
> >> higer wrote:
> >>> My file contains such strings :
> >>> \xe6\x97\xa5\xe6\x9c\x9f\xef\xbc\x9a
> >> If those bytes are what is
On Jun 7, 11:25 pm, John Machin wrote:
> On Jun 7, 10:55 pm, higer wrote:
>
> > My file contains such strings :
> > \xe6\x97\xa5\xe6\x9c\x9f\xef\xbc\x9a
>
> Are you sure? Does that occupy 9 bytes in your file or 36 bytes?
>
It was saved in a file, so it occup
My file contains such strings :
\xe6\x97\xa5\xe6\x9c\x9f\xef\xbc\x9a
I want to read the content of this file and transfer it to the
corresponding gbk code,a kind of Chinese character encode style.
Everytime I was trying to transfer, it will output the same thing no
matter which method was used.
I
12 matches
Mail list logo