programming

This is interesting. Jim Bates, an expert witness for the defence in some of the Operation Ore cases we discussed, has been convicted of misrepresenting his qualifications. Specifically, the charges relate to whether or not he claimed to be an electronics engineer, despite not being one, and to his career in the Royal Air Force.…

Read More The Payback

OK, so we solved the last problem. But now I’ve got another. We’ve just created a window with a Tkinter frame within, and announced that a listbox will be there. Then, we have the following statement: self.selector = Listbox(frame)..Listbox.pack(side=TOP)…for item in [“lots”,”of”,”data”,”in”,”here”,”that”,”takes”,”up”,”four”,”lines”]:….Listbox.insert(Tk.END,item) Dots inserted to get the indenting right. Tk.END causes the interpreter to fart…

Read More Bonus Pathetic Python Sunday

OK, so I’m trying to create a dropdown menu with around 40 options using the Python lib Tkinter. I’ve just learned that you can’t just define a command – call it get – and pass in the option as a variable (i.e. def get(variable) and then, for option X, command=get(X)), which brings me the horrible…

Read More Bleggin’