Thanks Kevin, that looks great. It's having trouble finding TkDND though - is
there a certain place in the "Python27" directory that it's most likely to
look? It's currently under Lib/site-packages, but I'm suspicious that
Tk/Tkinter has its own library somewhere.
Christian - you were right.
python-list-bounces+robert.flintham=uhb.nhs...@python.org] On Behalf Of
Christian Gollwitzer
Sent: 29 April 2013 21:38
To: python-list@python.org
Subject: Re: Drag and drop in Windows
Hi Robert,
Am 29.04.13 12:25, schrieb Robert Flintham:
> I've found this (TkDND):
>
> http://wiki.tcl.t
Hello all,
Sorry to post such a generic question, but after searching the interwebs I'm
not really any wiser about how to start with this.
I'm currently on:
Windows XP
Python 2.7
I'm trying to create a small window in Python 2.7, that when you drop a file
onto it from Windows explorer returns
ject: Re: "module could not be found" error
On 03/19/2013 11:10 AM, Robert Flintham wrote:
> Hi,
>
> I'm trying to run the following, with representing an array of
> floating point numbers:
>
>
> i
, in
from . import _lbfgsb
ImportError: DLL load failed: The specified module could not be found.
I've checked the path, and the file lbfgsb.py is definitely at that location
(as are optimize.py and _minimize.py). Does anyone know why I'm getting the
error?
All the best,
Rob
Rober
images where an 'overlay' image is stored as a bitmap
in the header information. So the bitmap data is one DICOM tag (6000,3000) and
the height and width of the overlay are in two other tags (6000,0010) and
(6000,0011).
All the best,
Rob
Robert Flintham
Trainee Clinical Scientist - MRI
Ideally, I'd like to be able to access the pixel data in the form of a numpy
array so that I can perform image-processing tasks on the data.
So now that I've explained myself slightly more fully, does anyone have any
thoughts on how to do this?
All the best,
Rob
Robert Flintham
Trai
Hi,
I have a 'bytes' object which contains a simple bitmap image (i.e. 1 bit per
pixel). I can't work out how I would go about displaying this image. Does
anyone have any thoughts?
All the best,
Rob
Robert Flintham
Trainee Clinical Scientist - MRI
Tel:
+44 (0)121