Re: [Tutor] Create a script to make bootable USB device.

2006-12-08 Thread Chris Hengge
Just curious as to why nobody has at least attempted an answer for this. Is what I'm asking simply unknown? Or it is impossible to do? No big deal either way... just curious because I'm seriously interested in this. Thanks. On 12/6/06, Chris Hengge <[EMAIL PROTECTED]> wrote: Is this something I

Re: [Tutor] mlab and numeric

2006-12-08 Thread Eike Welk
On Friday 08 December 2006 06:25, linda.s wrote: > can anyone tell me the relationship between MLab and Numeric? > Especially MLab, there is very little information about it. There seem to be several Mlab modules. At least Numeric, Matplotlib and Numarray have an Mlab module. They all seem to be a

Re: [Tutor] Tkinter Canvas

2006-12-08 Thread Luke Paireepinart
Asrarahmed Kadri wrote: > > > Hi Folks, > > I have a Tkinter canvas and a yscrollbar attached to it. It is working > fine but what I want is that when the mouse is in the canvas region, > the scroll button of the mouse should be able to control the upward > and downward movement, How to achieve

Re: [Tutor] OT GPL project finished, presentation looming

2006-12-08 Thread Dave S
On Thursday 07 December 2006 22:35, Alan Gauld wrote: > "Dave S" <[EMAIL PROTECTED]> wrote > > > They will be concerned about using my app because I am one person. > > What if I > > get hit by a bus ! what if I leave ? > > This is a common problem in big companies including my own. > For years they

Re: [Tutor] function and module

2006-12-08 Thread Alan Gauld
"Kent Johnson" <[EMAIL PROTECTED]> wrote >> There are a couple of possibilities. >> 1) if you can import the moduile into a >>> propmpt you could >> ask abc where it's from. > print abc.__file__ should work > > __file__ is a module attribute, not a function attribute. > abc.__module__ > will

[Tutor] Tkinter Canvas

2006-12-08 Thread Asrarahmed Kadri
Hi Folks, I have a Tkinter canvas and a yscrollbar attached to it. It is working fine but what I want is that when the mouse is in the canvas region, the scroll button of the mouse should be able to control the upward and downward movement, How to achieve this? Regards, Asrarahmed Kadri -- To

Re: [Tutor] problems pickling functions

2006-12-08 Thread Kent Johnson
Arild B. Næss wrote: > Den 8. des. 2006 kl. 14.05 skrev Kent Johnson: >> Why do you need to pickle the function? Is it created dynamically? >> Can you just pickle the data? >> >> Kent >> > > Thanks. > > I guess it's not absolutely necessary to pickle the function. I tried > to do this because

Re: [Tutor] problems pickling functions

2006-12-08 Thread Kent Johnson
Arild B. Næss wrote: > Hi, > > I'm writing a program for tagging which requires a long time to > calculate the parameters. I have therefore tried to write a long > program that pickles all the data, and pickles a function that uses > these parameters to tag an input sentence. > > But I'm ha

[Tutor] problems pickling functions

2006-12-08 Thread Arild B. Næss
Hi, I'm writing a program for tagging which requires a long time to calculate the parameters. I have therefore tried to write a long program that pickles all the data, and pickles a function that uses these parameters to tag an input sentence. But I'm having trouble with loading the functio

Re: [Tutor] function and module

2006-12-08 Thread Kent Johnson
Alan Gauld wrote: > There are a couple of possibilities. > 1) if you can import the moduile into a >>> propmpt you could > ask abc where it's from. print abc.__file__ should work __file__ is a module attribute, not a function attribute. abc.__module__ will give the name of the module abc is

[Tutor] Of integers, relations and trees

2006-12-08 Thread Tor Hildrum
I have this problem which I thought would be trivial, but I can't seem to figure out a decent way to do it. Say I have the following file: 10 -100 -101 -103 -108 --1080 ---1080.10 ---1080.11 12 -120 -125 20 30 -300 --3010 ---3010.3 These numbers represents a tree-like structure. In lack of a bet

Re: [Tutor] function and module

2006-12-08 Thread Alan Gauld
"linda.s" <[EMAIL PROTECTED]> wrote >I am reading a sample code and want to figure out where a function > (for instance, abc) is from. > There are many lines such as > from XXX import * This is one of the chief reasons why 'from x import *' is bad practice. > Is there a way not going through