Re: About py2exe "bundle_files" setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午11时49分33秒,Chris Angelico写道: > On Sun, May 5, 2013 at 1:42 AM, Jimmie He wrote: > > > 在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道: > > >> On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano > > >> > > >> wrote: > &

Re: About py2exe "bundle_files" setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道: > On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano > > wrote: > > > On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote: > > > > > >>I 've already put my project into GitHub,find the link b

Re: About py2exe "bundle_files" setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午7时31分04秒,Steven D'Aprano写道: > On Sat, 04 May 2013 03:37:54 -0700, Jimmie He wrote: > > > > > Hi Guys, > > >Now I met an issue to use py2exe when I use bundle_files = 1.As the > > >statement by py2exe,it means it will gene

Re: About py2exe "bundle_files" setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午7时31分04秒,Steven D'Aprano写道: > On Sat, 04 May 2013 03:37:54 -0700, Jimmie He wrote: > > > > > Hi Guys, > > >Now I met an issue to use py2exe when I use bundle_files = 1.As the > > >statement by py2exe,it means it will gene

About py2exe "bundle_files" setting?

2013-05-04 Thread Jimmie He
Hi Guys, Now I met an issue to use py2exe when I use bundle_files = 1.As the statement by py2exe,it means it will generate standalone EXE in stead of lots of ".dll & .pyc".But it crash when I use bundle_files = 1 or bundle_files = 2,if I use =3 it is okey.I 've search this issue by google, it

Re: Can read in the BMP data correctly ,but the size is not right?

2013-05-04 Thread Jimmie He
Totally right!Thanks again! -- http://mail.python.org/mailman/listinfo/python-list

Re: Can read in the BMP data correctly ,but the size is not right?

2013-04-30 Thread Jimmie He
On Tuesday, April 30, 2013 1:57:07 AM UTC+8, Peter Otten wrote: > Jimmie He wrote: > > > > >I'm trying to read in the BMP data by the the code below,and I'm check > > >the data array with WINHEX,and it is correct,but which confuse me is > >

Can read in the BMP data correctly ,but the size is not right?

2013-04-29 Thread Jimmie He
I'm trying to read in the BMP data by the the code below,and I'm check the data array with WINHEX,and it is correct,but which confuse me is why the size is 0x180,but the actual picture should be 48*48 = 0x120 bytes because I use 1-bit BMP not the 24bit BMP,could any one give some hints? ---

Re: File Read issue by using module binascii

2013-04-28 Thread Jimmie He
On Sunday, April 28, 2013 8:04:04 PM UTC+8, Jens Thoms Toerring wrote: > Tim Roberts wrote: > > > Jimmie He wrote: > > > > > >When I run the readbmp on an example.bmp(about 100k),the Shell is become > > >to "No respose",when I change f.re

Re: File Read issue by using module binascii

2013-04-27 Thread Jimmie He
Peter, Thanks for your test in details. Because I'm an newbie in Python and I can not conform whether it is an bug. Here I attach my code include my emample.bmp as link below. https://hotfile.com/dl/204795514/62fed41/BMPTool.zip.html -- http://mail.python.org/mailman/listinfo/python-list

Re: File Read issue by using module binascii

2013-04-27 Thread Jimmie He
> What shell are you using? The one provided by Idle? Yes. I use IDLE,the python version is 3.3.1.What else could I use?? -- http://mail.python.org/mailman/listinfo/python-list

Re: File Read issue by using module binascii

2013-04-27 Thread Jimmie He
a lot of processor time. > > > On 27 Apr 2013 05:28, "Jimmie He" wrote: > > when I commet the line of "print('bin: ',bsstr,type(bsstr)) ",it can be > run,so maybe the problem is the memory allocate of so long strings..Am I > right? > > &g

Re: File Read issue by using module binascii

2013-04-26 Thread Jimmie He
when I commet the line of "print('bin: ',bsstr,type(bsstr)) ",it can be run,so maybe the problem is the memory allocate of so long strings..Am I right? 在 2013年4月27日星期六UTC+8上午11时57分45秒,Jimmie He写道: > When I run the readbmp on an example.bmp(about 100k),the Shell is b

File Read issue by using module binascii

2013-04-26 Thread Jimmie He
When I run the readbmp on an example.bmp(about 100k),the Shell is become to "No respose",when I change f.read() to f.read(1000),it is ok,could someone tell me the excat reason for this? Thank you in advance! Python Code as below!! import binascii def read_bmp(): f = open('example.bmp','rb'