[Tutor] get cpu time used by a python script

2007-02-06 Thread Kim Branson
Hi whats the simplest cross platform way of getting the cpu time used by a python script? Kim ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] metaclass question

2007-01-23 Thread Kim Branson
to the method after it is defined? kim On Jan 22, 2007, at 5:14 PM, Kent Johnson wrote: Kim Branson wrote: Hi i'm interested in implementing a factoryclass in python What i'd like to do is have my factoryClass produce an instance of a class with some methods defined in arguments

[Tutor] metaclass question

2007-01-22 Thread Kim Branson
Hi i'm interested in implementing a factoryclass in python What i'd like to do is have my factoryClass produce an instance of a class with some methods defined in arguments to the factory class. The classes that are produced have many common methods, but a single unique method. This method

[Tutor] cross platform gui

2005-02-12 Thread Kim Branson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, i'm interested in building a gui for some code we have. I'm after pointers on gui programming, and a recommendation on a cross platform gui library, wxpython? pythoncard, qt? What do people use. Ideally i'd like something that can work on

[Tutor] rounding

2005-01-30 Thread Kim Branson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, heres a quick one for you, I have a series of data that I am using dictionaries to build histograms for. I'd like to round the data to the nearest 10, i.e if the value is 15.34 should we round down to 10? and conversely rounding say 19.30

Re: [Tutor] rounding

2005-01-30 Thread Kim Branson
!! Batteries included once again! Alan G. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor Kim Branson Diffraction and Theory CSIRO Health Sciences and Nutrition 343 Royal Parade, Parkville Melbourne Ph +613 9662 7136 [EMAIL

Re: [Tutor] Cluster algorithms

2005-01-27 Thread Kim Branson
interface now where you can build your own tools. (if you like to use widgets, or you can just write you own code calling it). Its all GPL and its pretty fantastic stuff. http://magix.fri.uni-lj.si/orange/ good luck kim Dr Kim Branson Diffraction and Theory CSIRO Health Sciences and Nutrition 343