On 17/10/17 20:13, Peter Otten wrote:
#!/usr/bin/python3
#test listbox
from tkinter import *
class Dialog(Frame):
def __init__(self, master):
Frame.__init__(self, master)
self.list = Listbox(self, selectmode=EXTENDED)
self.list.pack(fill=BOTH, expand=1)
On 17/10/17 07:25, Chris Roy-Smith wrote:
> I am trying to learn how to use a tkinter listbox. When I execute my
> experimental code, an odd index is printed immediately (output below
> code), index looks wrong (shouldn’t it be an integer).
You pass in the widget so thats what gets printed
We're heading into advanced territory here and I might get told off but...
Consider this C++ program for a second, it has a struct with different
types of variables which sit next to each other in memory. When you print
the byte values of the struct, you can see that there is no easy way to
know
On 17/10/17 01:02, Michael C wrote:
> that is, one number, can be truncated and exist in multiple locations like
> this
>
> double = 12345678
>
> 123 is at x001
> 45 is at x005
> 678 is at x010
That won't happen, a single variable will always be in a a single
area.
But the representation
Chris Roy-Smith wrote:
> OS: Linux Chris-X451MA 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19
> 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>
> Python 3.5.2 (default, Sep 14 2017, 22:51:06)
>
> I am trying to learn how to use a tkinter listbox. When I execute my
> experimental code, an odd
On 17/10/17 00:53, Michael C wrote:
> ah, i am bummed completely haha.
>
> Is there a way to tell which parts a variables so I can scan it?
> Maybe you could point me to some reading materials?
There are some rules about where programs store data within
their memory space, but typically that
Hold on, supposed by using Openprocess and VirtualQueryEx, I have the
locations of all the memory the application is using, wouldn't this to be
true?
Say, a 8 byte data is somewhere in the region i am scanning. Ok, I know by
scanning it like this
for n in range(start,end,1)
will read into
ah, i am bummed completely haha.
Is there a way to tell which parts a variables so I can scan it?
Maybe you could point me to some reading materials?
thanks :)
On Mon, Oct 16, 2017 at 4:48 PM, Alan Gauld via Tutor
wrote:
> On 16/10/17 21:04, Michael C wrote:
>
> > I don't
Hi,
OS: Linux Chris-X451MA 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19
17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
I am trying to learn how to use a tkinter listbox. When I execute my
experimental code, an odd index is printed immediately