Re: Tkinter spacing

2016-01-26 Thread high5storage
On Monday, January 25, 2016 at 7:41:57 PM UTC-8, KP wrote: > If I want to have some space between, say, btn_last & btn_new, will I have to > use a dummy label in between these two or is there a better way? > > Thanks for any help, as always! > > > > > from tkinter import * > from tkinter

Re: Tkinter spacing

2016-01-26 Thread high5storage
On Monday, January 25, 2016 at 7:41:57 PM UTC-8, KP wrote: > If I want to have some space between, say, btn_last & btn_new, will I have to > use a dummy label in between these two or is there a better way? > > Thanks for any help, as always! > > > > > from tkinter import * > from tkinter

Fast pythonic way to process a huge integer list

2016-01-06 Thread high5storage
I have a list of 163.840 integers. What is a fast & pythonic way to process this list in 1,280 chunks of 128 integers? -- https://mail.python.org/mailman/listinfo/python-list

Weird list conversion

2015-12-13 Thread high5storage
Hi all, f = open("stairs.bin", "rb") data = list(f.read(16)) print data returns ['=', '\x04', '\x00', '\x05', '\x00', '\x01', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00'] The first byte of the file is 0x3D according to my hex editor, so

Re: Image rotation issue

2015-03-30 Thread high5storage
On Monday, 30 March 2015 16:48:08 UTC-7, Chris Angelico wrote: On Tue, Mar 31, 2015 at 8:22 AM, duderino wrote: rotimg = img.rotate(270) # rotation is counterclockwise Unless the 90 and 270 cases are documented as being handled specially, I'd look for a dedicated function for doing those