Re: [Tutor] Decorators

2010-06-30 Thread Alan Gauld
"Mary Morris" wrote anything. I need to find out every decorator and make sure it has a descriptive name. I was thinking I could write a simple script which would parse through all of the source files and find decorators-maybe by looking for the @ symbol? I would first try a good IDE. I

[Tutor] Decorators revised

2010-06-30 Thread Mary Morris
I need help with the following task for my new job: The code we're using is written in python, which I have never worked with before. Our AMS source code relies heavily on decorators.Things look something like this: @decomaker(argA, argB, ...) def func(arg1, arg2, ...): pass which is the sa

Re: [Tutor] togglebutton mouseover

2010-06-30 Thread Lang Hurst
Sorry, I just realized I posted this to the wrong list. On 06/30/2010 12:20 AM, Lang Hurst wrote: Is there a way to make a ToggleButton not change state when moused over? I set the color of the button when clicked with a line like so: widget.modify_bg(gtk.STATE_ACTIVE, gtk.gdk.color_parse("li

Re: [Tutor] Decorators

2010-06-30 Thread Hugo Arts
On Wed, Jun 30, 2010 at 9:52 PM, Mary Morris wrote: > I need help with the following task for my new job: > The code we're using is python, which I have never worked with before. > Our AMS source code relies heavily on decorators.Things look something like > this: > @decomaker(argA, argB, ...) > d

Re: [Tutor] Problems installing

2010-06-30 Thread Evert Rol
> I just downloaded Python 2.6.5 onto my windows vista laptop. I am attempting > to install "escript version 3: Solution of Partial Differential Equations > (PDE) using Finite Elements (FEM)." I downloaded the files and manually > placed them in their appropriately place on my computer according

[Tutor] Decorators

2010-06-30 Thread Mary Morris
I need help with the following task for my new job: The code we're using is python, which I have never worked with before. Our AMS source code relies heavily on decorators.Things look something like this: @decomaker(argA, argB, ...) def func(arg1, arg2, ...): pass which is the same as func

Re: [Tutor] (no subject)

2010-06-30 Thread Alan Gauld
"Aaron Chambers" wrote in message news:aanlktinh0ptfxhsbqrwiujml8nmuzcdcpqxscirhc...@mail.gmail.com... I'm new to Python, and wanted to start messing around with it, but the computer I'm using is running Windows 7, so is there a version of Python that's compatible with 7? Yes, and I would

Re: [Tutor] Problems installing

2010-06-30 Thread Jerry Hill
On Wed, Jun 30, 2010 at 1:35 AM, Andrew Martin wrote: > I just downloaded Python 2.6.5 onto my windows vista laptop. I am > attempting to install "escript version 3: Solution of Partial Differential > Equations (PDE) using Finite Elements (FEM)." I downloaded the files and > manually placed them i

Re: [Tutor] (no subject)

2010-06-30 Thread Lie Ryan
On 07/01/10 02:20, Aaron Chambers wrote: > I'm new to Python, and wanted to start messing around with it, but the > computer I'm using is running Windows 7, so is there a version of Python > that's compatible with 7? Yes. ___ Tutor maillist - Tutor@py

Re: [Tutor] (no subject)

2010-06-30 Thread Tim Golden
On 30/06/2010 17:20, Aaron Chambers wrote: I'm new to Python, and wanted to start messing around with it, but the computer I'm using is running Windows 7, so is there a version of Python that's compatible with 7? Yes. I'm running versions from Python 2.1 all the way up to the latest 2.x and 3.x

[Tutor] (no subject)

2010-06-30 Thread Aaron Chambers
I'm new to Python, and wanted to start messing around with it, but the computer I'm using is running Windows 7, so is there a version of Python that's compatible with 7? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options

Re: [Tutor] OT: need computer advice from wise Tutors

2010-06-30 Thread David Hutto
On Wed, Jun 30, 2010 at 3:06 AM, ALAN GAULD wrote: > > >> > If its a typical ADSL line it will be conneced to a DSLAM at >> > the centeral office(by the telco) and  that will be shareed. >> >> > ADSL also loses bandwidth the further you are from the office > >> process has to be diversified for ea

Re: [Tutor] Problems installing

2010-06-30 Thread Steven D'Aprano
On Wed, 30 Jun 2010 03:35:10 pm Andrew Martin wrote: > I just downloaded Python 2.6.5 onto my windows vista laptop. I am > attempting to install "escript version 3: Solution of Partial > Differential Equations (PDE) using Finite Elements (FEM)." I > downloaded the files and manually placed them in

[Tutor] togglebutton mouseover

2010-06-30 Thread Lang Hurst
Is there a way to make a ToggleButton not change state when moused over? I set the color of the button when clicked with a line like so: widget.modify_bg(gtk.STATE_ACTIVE, gtk.gdk.color_parse("light blue")) That works fine. On and off. Although you can't tell it's clicked until the mouse pa

Re: [Tutor] OT: need computer advice from wise Tutors

2010-06-30 Thread ALAN GAULD
> > If its a typical ADSL line it will be conneced to a DSLAM at > > the centeral office(by the telco) and that will be shareed. > > > ADSL also loses bandwidth the further you are from the office > process has to be diversified for each customer, because it > all travels at the speed of lig