[Tutor] Windows Domain Authentication

2006-07-07 Thread Jacob Abraham
Dear Tutors, I am about to start on a project that would reuse Windows Domain Authentication over XML-RPC in python. This may involve the rewrite of the XML-RPC client and server. Could someone point me in the right direction so that I can run from there. Cheers, Jacob Abraham ___

Re: [Tutor] Functional Programming

2006-07-07 Thread Alan Gauld
> Also, much as I like python, it's not really suited to functional > programming I'd modify that to say its not ideally suited to FP, but an FP style is certainly possible. Pyhon is adequate to learn the principles but it would be nearly impossible to write a real world solution using pure FP

Re: [Tutor] Windows Domain Authentication

2006-07-07 Thread Kent Johnson
Jacob Abraham wrote: >I am about to start on a project that would reuse > Windows Domain Authentication over XML-RPC in python. > This may involve the rewrite of the XML-RPC client and > server. Could someone point me in the right direction > so that I can run from there. I'm not at all sure wh

[Tutor] Windows Domain Authentication

2006-07-07 Thread Jacob Abraham
Hi Kent I am trying to write a XML-RPC system that authenticates clients via Windows Domain Auth. I just wanted to know how best to go about doing this, since I come from a Linux background and am not familiar with the win32 API. I've just started looking at "named pipes" as a possible solution.

[Tutor] Logical Sorting

2006-07-07 Thread Evan Klitzke
Hi, I am trying to sort a list of directories that correspond to kernel sources under /usr/src/linux. I wrote some code that gets a list like this: ['linux-2.6.9-gentoo-r4', 'linux-2.6.16-gentoo-r11/', 'linux-2.6.16-gentoo-r7/'] When I sort the list, I want it to go from oldest (lowest version)

Re: [Tutor] Logical Sorting

2006-07-07 Thread Evan Klitzke
On 7/7/06, Evan Klitzke <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to sort a list of directories that correspond to kernel > sources under /usr/src/linux. Err, this is under /usr/src... not that it is really pertinent to my question. -- Evan Klitzke _

[Tutor] Is implicit underscore assignment documented?

2006-07-07 Thread Terry Carroll
Is implicit underscore assignment documented anywhere? I've seen reference to this, and it seems to be simply that, when Python interactively prints a value in response to a user entering an expression, that value is assigned to the variable _. As far as I can tell, the following transcript

Re: [Tutor] Logical Sorting

2006-07-07 Thread Kent Johnson
Evan Klitzke wrote: > Hi, > > I am trying to sort a list of directories that correspond to kernel > sources under /usr/src/linux. I wrote some code that gets a list like > this: > ['linux-2.6.9-gentoo-r4', 'linux-2.6.16-gentoo-r11/', > 'linux-2.6.16-gentoo-r7/'] > > When I sort the list, I want i

[Tutor] how to post an event?

2006-07-07 Thread Jeff Peery
Hello, I am having a bit of trouble figuring out how to post an event. I attached my sample program. I assigned a button event to each button in the program. I want to post an event when the second button is pressed that executes the first button. thanks.Jeff Talk is cheap. Use Yahoo! Messenger

Re: [Tutor] Logical Sorting

2006-07-07 Thread Python
On Fri, 2006-07-07 at 10:09 -0700, Evan Klitzke wrote: > Hi, > > I am trying to sort a list of directories that correspond to kernel > sources under /usr/src/linux. I wrote some code that gets a list like > this: > ['linux-2.6.9-gentoo-r4', 'linux-2.6.16-gentoo-r11/', > 'linux-2.6.16-gentoo-r7/'

Re: [Tutor] Logical Sorting

2006-07-07 Thread Marc Poulin
I did a Google search for "python numeric sort" and found http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/135435 It seems to do what you want. Marc --- Evan Klitzke <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to sort a list of directories that > correspond to kernel > sources und

Re: [Tutor] how to post an event?

2006-07-07 Thread Alan Gauld
> Hello, I am having a bit of trouble figuring out how to post an > event. Do you really need to post an event? >self.button2.Bind(wx.EVT_BUTTON, self.OnButton2Button, > id=wxID_FRAME1BUTTON2) could you just bi8nd the same method to both buttons? >def OnButton1Button(s

Re: [Tutor] Logical Sorting [Off-Topic]

2006-07-07 Thread زياد بن عبدالعزيز الباتلي
On Fri, 2006-07-07 at 10:09 -0700, Evan Klitzke wrote: > Hi, > > I am trying to sort a list of directories that correspond to kernel > sources under /usr/src/linux. I wrote some code that gets a list like > this: > ['linux-2.6.9-gentoo-r4', 'linux-2.6.16-gentoo-r11/', > 'linux-2.6.16-gentoo-r7/'

Re: [Tutor] Is implicit underscore assignment documented?

2006-07-07 Thread Terry Carroll
On Fri, 7 Jul 2006, Terry Carroll wrote: > As far as I can tell, the following transcript shows its workings: Orri has privately pointed out to me that I have a copy-paste error in the transcript; but that aside, my question still is: > Is this documented anywhere?