Re: OO approach to decision sequence?

2005-06-26 Thread Chinook
On Sun, 26 Jun 2005 00:54:42 -0400, Bengt Richter wrote (in article <[EMAIL PROTECTED]>): > On Sat, 18 Jun 2005 03:52:28 -0400, Brian van den Broek > <[EMAIL PROTECTED]> wrote: > [...] >> >> Now, the same sort of behaviour where the "if type" testing has been >> replaced with code more in keepi

Re: noob question

2005-06-26 Thread Chinook
On Sun, 26 Jun 2005 01:06:08 -0400, Matt Hollingsworth wrote (in article <[EMAIL PROTECTED]>): > Hello, > > Very new to python, so a noob question. When I've written stuff in > JavaScript or MEL in the past, I've always adopted the variable naming > convention of using a $ as the first charact

[offtopic] Re: Set of Dictionary

2005-06-26 Thread James Dennett
Steven D'Aprano wrote: > On Thu, 16 Jun 2005 21:21:50 +0300, Konstantin Veretennicov wrote: > > >>On 6/16/05, Vibha Tripathi <[EMAIL PROTECTED]> wrote: >> >>>I need sets as sets in mathematics: >> >>That's tough. First of all, mathematical sets can be infinite. It's >>just too much memory :) >>S

RE: Tracing down segfault

2005-06-26 Thread Tony Meyer
[Tony Meyer] >> I have (unfortunately) a Python program that I can >> consistently (in a reproducible way) segfault. [Tim Peters] > The _best_ thing to do next is to rebuild Python, and as many other > packages as possible, in debug mode. [...] > It's especially useful to rebuild Python that way.

Re: [offtopic] Re: Set of Dictionary

2005-06-26 Thread Brian van den Broek
James Dennett said unto the world upon 26/06/2005 03:51: > Steven D'Aprano wrote: > > >>On Thu, 16 Jun 2005 21:21:50 +0300, Konstantin Veretennicov wrote: >> >> >> >>>On 6/16/05, Vibha Tripathi <[EMAIL PROTECTED]> wrote: >>> >>> I need sets as sets in mathematics: >>> >>>That's tough. First o

Re: Favorite non-python language trick?

2005-06-26 Thread Konstantin Veretennicov
On 25 Jun 2005 12:17:20 -0700, George Sakkis <[EMAIL PROTECTED]> wrote: > If they go to itertools, they can simply be: > > def map(f, *iterables): > return list(imap(f,*iterables)) > > def filter(f, seq): > return list(ifilter(f,seq)) >>> from itertools import ifilter >>> def filter(f, s

Re: noob question

2005-06-26 Thread qwweeeit
Hi Matt, I also am almost a newbie (in Python) and my approach to variable naming follows more or less the Hungarian Type Notation Defined. To better explain, I use one char or two (in small case) as a prefix of the name of the variable (starting in capital letters). The prefix identifies the "type

Re: Favorite non-python language trick?

2005-06-26 Thread Terry Hancock
On Saturday 25 June 2005 01:08 pm, Steven D'Aprano wrote: > Using := and = for assignment and equality is precisely as stupid as using > = and == for assignment and equality. Perhaps less stupid: why do we use > == for equals, but not ++ for plus and -- for minus? Probably the most pointless Pytho

Re: noob question

2005-06-26 Thread Steven D'Aprano
On Sat, 25 Jun 2005 22:06:08 -0700, Matt Hollingsworth wrote: > Hello, > > Very new to python, so a noob question. When I've written stuff in > JavaScript or MEL in the past, I've always adopted the variable naming > convention of using a $ as the first character (no, I don't use perl, > neve

Re: Favorite non-python language trick?

2005-06-26 Thread Torsten Bronger
Hallöchen! Terry Hancock <[EMAIL PROTECTED]> writes: > [...] > > BASIC did it that way, IIRC. Right. > [...] > > I don't think Python's use of "==" has *ever* helped me find a > bug, it just creates them. I really think "=" ought to be > accepted as well, and "==" deprecated. However, then yo

accessing object attribute as parameter

2005-06-26 Thread [EMAIL PROTECTED]
Hello, I would like to access object parameter / variable from a function. For example : class A: def __init__(self, x,y): self.x = x self.y = y in the main program, I have a list of obj A: L = [A(1,2), A(2,3)] Now I need to access the value of x or y from a function: def GetSomethi

Re: Favorite non-python language trick?

2005-06-26 Thread Terry Hancock
On Sunday 26 June 2005 05:39 am, Torsten Bronger wrote: > Hallöchen! > However, then you must forbid a=b=1 for assigning to two variables > at the same time. Why? It's already handled as an exception in the syntax. In C, what you say makes sense, because "b=1" is an expression as well as an assi

Re: accessing object attribute as parameter

2005-06-26 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hello, > > I would like to access object parameter / variable from a function. > > For example : > class A: > def __init__(self, x,y): > self.x = x > self.y = y > > in the main program, I have a list of obj A: > L = [A(1,2), A(2,3)] > > Now I need to acces

Re: Favorite non-python language trick?

2005-06-26 Thread Robert Kern
Terry Hancock wrote: > On Sunday 26 June 2005 05:39 am, Torsten Bronger wrote: > >>Hallöchen! >>However, then you must forbid a=b=1 for assigning to two variables >>at the same time. > > Why? It's already handled as an exception in the syntax. > > In C, what you say makes sense, because "b=1" i

Re: noob question

2005-06-26 Thread Konstantin Veretennicov
On 6/26/05, Matt Hollingsworth <[EMAIL PROTECTED]> wrote: > Seems like an _extremely_ elegent language that is very easy to read, so > I suppose it's not really as much of an issue as it is with other > languages. Still, I would like to see what other people do and what are > some good ideas for t

Re: Thoughts on Guido's ITC audio interview

2005-06-26 Thread Steven D'Aprano
On Sat, 25 Jun 2005 23:49:40 -0600, John Roth wrote: >>> What's being ignored is that type information is useful for other >>> things than compile type checking. The major case in point is the way >>> IDEs such as IntelliJ and Eclipse use type information to do >>> refactoring, code completion and

Background thread or non-blocking raw_input

2005-06-26 Thread Jorge Louis De Castro
Hi,   I've posted this before but the answer given made use of twisted functions that do not work on windows, so i'm forced to repost. Basically, is there a way to have a thread running on the background that over rules the raw_input function? The example I'm working on is something like hav

Re: Favorite non-python language trick?

2005-06-26 Thread Roy Smith
Steven D'Aprano <[EMAIL PROTECTED]> wrote: > Using := and = for assignment and equality is precisely as stupid as using > = and == for assignment and equality. On the other hand, == is easier to type than := (two taps on the same key vs two different keys, and at least on a US/English keyboard, n

Re: Favorite non-python language trick?

2005-06-26 Thread George Sakkis
"Konstantin Veretennicov" <[EMAIL PROTECTED]> wrote: > > On 25 Jun 2005 12:17:20 -0700, George Sakkis <[EMAIL PROTECTED]> wrote: > > If they go to itertools, they can simply be: > > > > def map(f, *iterables): > > return list(imap(f,*iterables)) > > > > def filter(f, seq): > > return list(

Re: formatted xml output from ElementTree inconsistency

2005-06-26 Thread uche . ogbuji
Patrick Maupin wrote: """ Dennis Bieber wrote: > Off hand, I'd consider the non-binary nature to be because the > internet protocols are mostly designed for text, not binary. A document at http://www.w3.org/TR/REC-xml/ lists "the design goals for XML". One of the listed goals is "XML documents sh

Re: accessing object attribute as parameter

2005-06-26 Thread [EMAIL PROTECTED]
thanks Diez pujo -- http://mail.python.org/mailman/listinfo/python-list

Re: Thoughts on Guido's ITC audio interview

2005-06-26 Thread George Sakkis
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote: > You are welcome to change the specifications of findall() and turn it into > an iterator which returns each match one at a time instead of all at once, > but then the name is misleading, wouldn't you agree? The regex module has since 2.2 a function (

Re: noob question

2005-06-26 Thread George Sakkis
"Konstantin Veretennicov" <[EMAIL PROTECTED]> wrote: > On 6/26/05, Matt Hollingsworth <[EMAIL PROTECTED]> wrote: > > Seems like an _extremely_ elegent language that is very easy to read, so > > I suppose it's not really as much of an issue as it is with other > > languages. Still, I would like to

Documentation How-to's for cx_Oracle

2005-06-26 Thread sameer_deshpande
Hello, Does anybody have how-to's or good enough detail documentation for cx_Oracle module? Thanks Sameer -- http://mail.python.org/mailman/listinfo/python-list

Re: Big problem fetching members from dynamically loaded module

2005-06-26 Thread Philippe C. Martin
> My French is mostly read-only, so let me rephrase: Thank you :-) > from module import *, try ... except, eval(), exec all work together to > make your program harder to understand and more likely to fail in obscure > ways. What would you suggest then, I just want my code to 1) be sturdy 2) some

Re: Thoughts on Guido's ITC audio interview

2005-06-26 Thread Scott David Daniels
Dave Benjamin wrote: > ... > I think Python's decision to use reference counting was an instance of > worse-is-better: at the time, reference counting was already known not to be > "the right thing", but it worked, and the implementation was simple. > Likewise with dynamic typing versus type infer

Re: Favorite non-python language trick?

2005-06-26 Thread GodFoca
> I'm curious -- what is everyone's favorite trick from a non-python > language? And -- why isn't it in Python? Hmm... I used to be quite the fan of Python, yet not long ago I met Ruby and fell in love almost instantly. Some of the features I like the most: - statement modifiers: < "return a if

Re: Favorite non-python language trick?

2005-06-26 Thread Devan L
< "return a if a.value == true" < "database.query(q) unless database.connect == error (etc) if a.value == True: return a if not database.connect == error: database.query(q) Trading two words for one word doesn't necessarily make the code better. < unless false then print 1 # this prints

Re: Interpreter-like help in cmd.Cmd

2005-06-26 Thread Bengt Richter
On Thu, 09 Jun 2005 16:53:17 -0700, Sarir Khamsi <[EMAIL PROTECTED]> wrote: >Peter Hansen <[EMAIL PROTECTED]> writes: > >> class _Helper(object): >> """Define the built-in 'help'. >> This is a wrapper around pydoc.help (with a twist). >> >> """ >> >> def __repr__(self): >>

Re: Running Python interpreter in Emacs

2005-06-26 Thread Rex Eastbourne
I went to My Computer | Properties | Advanced | Environment Variables and added c:\program files\python24 to both the PYTHONPATH and Path variables. Still no luck. I don't know whether the path I'm talking about is the same as the $PATH you referred to, or whether I'm supposed to put python.exe exp

Re: PEP 304 (was: Re: Any way to not create .pyc files?)

2005-06-26 Thread Bengt Richter
On Thu, 9 Jun 2005 18:12:35 -0500, Skip Montanaro <[EMAIL PROTECTED]> wrote: > >>> PEP 304 would have helped, but it appears to be deceased. > >Just resting... > >FWIW, I reapplied it to my cvs sandbox the other day and plan to at least >generate a new patch from that. It's pretty much done

Re: python bytecode grammar

2005-06-26 Thread Bengt Richter
On Fri, 10 Jun 2005 16:46:32 +0200, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >M1st0 wrote: >> Ops yes is BNF :P Bacus Normal Form if I am not wrong... >> >> However.. >> >> I'am tryng to recognizing patterns in a bytecoded file in orderd to >> optimize... >> >> But I would like to "pa

Re: unittest: collecting tests from many modules?

2005-06-26 Thread Bengt Richter
On 12 Jun 2005 08:06:18 -0700, "George Sakkis" <[EMAIL PROTECTED]> wrote: >"Jorgen Grahn" wrote: > >> I have a set of tests in different modules: test_foo.py, test_bar.py and so >> on. All of these use the simplest possible internal layout: a number of >> classes containing test*() methods, and th

Re: unittest: collecting tests from many modules?

2005-06-26 Thread Benji York
"Jorgen Grahn" wrote: >What's the best way of creating a test.py which >- aggregates the tests from all the test_*.py modules? You might want to check out the test runner in Zope 3 (svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/testing) It aggregates test reporting, does code coverage,

Re: slicing a bsddb table, eg. for rec in bsddb["AArdvark":"zebra"]: print rec

2005-06-26 Thread Bengt Richter
On Sun, 12 Jun 2005 16:49:57 -0500, Skip Montanaro <[EMAIL PROTECTED]> wrote: > >Neville> # I was expecting a slice of an index file to yield a >Neville> # generator so not all the records need to be read from disk > >Slicing is a feature of sequence types, not mapping types. > >>>

Re: Controlling assignation

2005-06-26 Thread Bengt Richter
On Mon, 13 Jun 2005 15:52:14 +0200, =?ISO-8859-1?Q?Xavier_D=E9coret?= <[EMAIL PROTECTED]> wrote: <...OTT [OT Title] posted text snipped.../> assignation != assignment ;-) Regards, Bengt Richter -- http://mail.python.org/mailman/listinfo/python-list

Re: OO approach to decision sequence?

2005-06-26 Thread Paul McGuire
Lee C - Here is a technique for avoiding the if-elseif-elseif...-else method for building objects. It is a modified form of ChainOfResponsibility pattern, in which you have a collection of factory methods that all have a common signature, or a collection of Factory classes that all implement a "m

Re: unittest: collecting tests from many modules?

2005-06-26 Thread George Sakkis
"Bengt Richter" <[EMAIL PROTECTED]> wrote: > On 12 Jun 2005 08:06:18 -0700, "George Sakkis" <[EMAIL PROTECTED]> wrote: > > >I had written a script to do something close to this; currently it > >doesn't do any kind of aggregation, but it should be easy to extend it > >as you like. What I don't like

RE: unittest: collecting tests from many modules?

2005-06-26 Thread Robert Brewer
"Jorgen Grahn" wrote: > I have a set of tests in different modules: test_foo.py, > test_bar.py and so on. All of these use the simplest > possible internal layout: a number of classes containing > test*() methods, and the good old lines at the end: > >> > >> if __name__ == "__main__": > >>

Re: Documentation How-to's for cx_Oracle

2005-06-26 Thread [EMAIL PROTECTED]
You can find that here: http://starship.python.net/crew/atuining/cx_Oracle/html/contents.html -- http://mail.python.org/mailman/listinfo/python-list

Re: OO approach to decision sequence?

2005-06-26 Thread George Sakkis
"Paul McGuire" <[EMAIL PROTECTED]> wrote: > Lee C - > > Here is a technique for avoiding the if-elseif-elseif...-else method > for building objects. It is a modified form of ChainOfResponsibility > pattern, in which you have a collection of factory methods that all > have a common signature, or a

Re: Favorite non-python language trick?

2005-06-26 Thread Bengt Richter
On Sun, 26 Jun 2005 14:30:15 +1000, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >On Sat, 25 Jun 2005 23:08:10 +, Bengt Richter wrote: > [...] >> >> The single line replacing >> """ >> with colour do begin >> red := 0; blue := 255; green := 0; >> end; >> """ >> follows:

Re: Rebindings [was Re: Favorite non-python language trick?]

2005-06-26 Thread Bengt Richter
On Sun, 26 Jun 2005 14:36:42 +1000, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >On Sat, 25 Jun 2005 23:08:10 +, Bengt Richter wrote: > >>>Using := and = for assignment and equality is precisely as stupid as using >>>= and == for assignment and equality. Perhaps less stupid: why do we use >>>==

Acceptance test spike example

2005-06-26 Thread Steve Jorgensen
I'm posting this message for 2 reasons. First, I'm still pretty new and shakey to the whole Acceptance Testing thing, and I'm hoping for some feedback on whether I'm on the right track. Second, although all the Agile literature talks about the importance of doing Acceptance Testing, there's very

Re: Acceptance test spike example

2005-06-26 Thread Andrew McDonagh
Steve Jorgensen wrote: > I'm posting this message for 2 reasons. > > First, I'm still pretty new and shakey to the whole Acceptance Testing thing, > and I'm hoping for some feedback on whether I'm on the right track. Second, > although all the Agile literature talks about the importance of doing

Re: Acceptance test spike example

2005-06-26 Thread John Roth
"Andrew McDonagh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Steve Jorgensen wrote: >> I'm posting this message for 2 reasons. >> >> First, I'm still pretty new and shakey to the whole Acceptance Testing >> thing, >> and I'm hoping for some feedback on whether I'm on the right

Re: OO approach to decision sequence?

2005-06-26 Thread Chinook
On Sun, 26 Jun 2005 17:58:11 -0400, George Sakkis wrote (in article <[EMAIL PROTECTED]>): > "Paul McGuire" <[EMAIL PROTECTED]> wrote: > >> Lee C - >> >> Here is a technique for avoiding the if-elseif-elseif...-else method >> for building objects. It is a modified form of ChainOfResponsibility >

what is your opinion of zope?

2005-06-26 Thread Avery Warren
I am investigating converting a wiki site to plone. I am having a lot of difficulty finding good documentation programmatically accessing the ZODB API. A lot of the user feedback is centered on how difficult it is to get good documentation on developing using these technologies. My question to com

Re: unittest: collecting tests from many modules?

2005-06-26 Thread George Sakkis
"Robert Brewer" <[EMAIL PROTECTED]> wrote: > Anyway, use normal os.walk() calls to gather the files which start with > "test_"; then use the TestLoader.loadTestsFromName method to instruct > unittest to test them as a group. Hi Robert, this makes much more sense; os.walk and TestLoader.loadTests

Re: Running Python interpreter in Emacs

2005-06-26 Thread Philippe C. Martin
Hi, I was refering to the Windows $PATH which you can modify in the same dialog. To make sure it's done properly, open a console (cmd.exe) and type python Regards, Philippe Rex Eastbourne wrote: > I went to My Computer | Properties | Advanced | Environment Variables > and added c:\program fil

Re: Acceptance test spike example

2005-06-26 Thread Terry Reedy
"Steve Jorgensen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Note how the powerful, context-aware exec() and eval() procedures really > help > simplify the code. A stylistic note: I believe that most or all of your eval/exec uses could be done with getattr and setattr inste

Re: Thoughts on Guido's ITC audio interview

2005-06-26 Thread Sakesun Roykiattisak
>What's being ignored is that type information is useful for other things >than compile type checking. The major case in point is the way IDEs >such as IntelliJ and Eclipse use type information to do refactoring, code >completion and eventually numerous other things. A Java programmer >using Intel

Re: Acceptance test spike example

2005-06-26 Thread Steve Jorgensen
On Sun, 26 Jun 2005 22:42:40 -0400, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > >"Steve Jorgensen" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> Note how the powerful, context-aware exec() and eval() procedures really >> help >> simplify the code. > >A stylistic note: I believe

Re: OO approach to decision sequence?

2005-06-26 Thread Paul McGuire
Ok, I'm glad you guys liked that design pattern. Here are a few additional footnotes: 1. As George mentions, the order of the converters is *very* important, especially in this particular case. One might question whether '1+0j' would convert to a complex or an int - my first thought was to make

Re: Acceptance test spike example

2005-06-26 Thread Robert C.Martin
On Sun, 26 Jun 2005 16:10:05 -0700, Steve Jorgensen <[EMAIL PROTECTED]> wrote: >I'm posting this message for 2 reasons. > >First, I'm still pretty new and shakey to the whole Acceptance Testing thing, >and I'm hoping for some feedback on whether I'm on the right track. Second, >although all the A

Photo layout

2005-06-26 Thread Stephen Boulet
Is there a python solution that someone could recommend for the following: I'd like to take a directory of photos and create a pdf document with four photos sized to fit on each (landscape) page. Thanks. Stephen -- http://mail.python.org/mailman/listinfo/python-list

Re: what is your opinion of zope?

2005-06-26 Thread Terry Hancock
On Sunday 26 June 2005 06:34 pm, Avery Warren wrote: > I am investigating converting a wiki site to plone. I am having > a lot of difficulty finding good documentation programmatically > accessing the ZODB API. Well, it's really pretty straightforward to use, but you should be able to find suffici

Re: Favorite non-python language trick?

2005-06-26 Thread Terry Hancock
On Sunday 26 June 2005 06:11 am, Robert Kern wrote: > Terry Hancock wrote: > > On Sunday 26 June 2005 05:39 am, Torsten Bronger wrote: > >>However, then you must forbid a=b=1 for assigning to two variables > >>at the same time. > > You need to differentiate >a = b = 1 > from >a = b == 1 O

Re: Favorite non-python language trick?

2005-06-26 Thread Robert Kern
Terry Hancock wrote: > On Sunday 26 June 2005 06:11 am, Robert Kern wrote: > >>Terry Hancock wrote: >> >>>On Sunday 26 June 2005 05:39 am, Torsten Bronger wrote: >>> However, then you must forbid a=b=1 for assigning to two variables at the same time. >> >>You need to differentiate >> a =

Beginner question: Converting Single-Element tuples to list

2005-06-26 Thread vdavidster
Hello everyone, I want to convert a tuple to a list, and I expected this behavior: list(('abc','def')) -> ['abc','def'] list(('abc')) -> ['abc'] But Python gave me this behavior: list(('abc','def')) -> ['abc','def'] list(('abc')) -> ['a','b','c'] How do I do get Python to work like the in form

Re: Photo layout

2005-06-26 Thread Terry Hancock
On Sunday 26 June 2005 10:57 pm, Stephen Boulet wrote: > Is there a python solution that someone could recommend for the following: > > I'd like to take a directory of photos and create a pdf document with > four photos sized to fit on each (landscape) page. Probably you could do this with PIL +

Re: Beginner question: Converting Single-Element tuples to list

2005-06-26 Thread Paul McGuire
('abc') is not a tuple - this is an unfortunate result of using ()'s as expression grouping *and* as tuple delimiters. To make ('abc') a tuple, you must add an extra comma, as ('abc',). >>> list( ('abc',) ) ['abc'] -- Paul -- http://mail.python.org/mailman/listinfo/python-list

Re: A Module on Time & Date

2005-06-26 Thread Robert Maas, see http://tinyurl.com/uh3t
> From: Sakesun Roykiattisak <[EMAIL PROTECTED]> > import datetime > print datetime.datetime.now() That doesn't work here: % python Python 2.2.2 (#1, Feb 17 2003, 21:01:54) [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 Type "help", "copyright", "credits" or "license" for more information. >>> import

Centering text in a wx.ListBox w/ wxPython

2005-06-26 Thread fooooo
How do I center each item in the ListBox widget? Also, is it possible to change the color of the selected item? right now it uses the OSes color. I would like it to be consistant on every machine. -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner question: Converting Single-Element tuples to list

2005-06-26 Thread vdavidster
Hi, Thanks for your reply! A new thing learned Allow me to follow that up with another question: Let's say I have a result from a module called pyparsing: Results1 = ['abc', 'def'] Results2 = ['abc'] They are of the ParseResults type: >>> type(Results1) >>> type(Results2) I want to con

Re: A Module on Time & Date

2005-06-26 Thread Robert Maas, see http://tinyurl.com/uh3t
> From: John Abel <[EMAIL PROTECTED]> > time - http://docs.python.org/lib/module-time.html Ah, thanks! It works here, whereas: > datetime - http://docs.python.org/lib/module-datetime.html doesn't work, no such module, see: http://groups-beta.google.com/group/comp.lang.python/msg/0e4307f5cfa28b

Re: Beginner question: Converting Single-Element tuples to list

2005-06-26 Thread Reinhold Birkenfeld
[EMAIL PROTECTED] wrote: > Hi, > > Thanks for your reply! A new thing learned > > Allow me to follow that up with another question: > > Let's say I have a result from a module called pyparsing: > > Results1 = ['abc', 'def'] > Results2 = ['abc'] > > They are of the ParseResults type: > >>>

Re: A Module on Time & Date

2005-06-26 Thread Robert Kern
Robert Maas, see http://tinyurl.com/uh3t wrote: >>From: John Abel <[EMAIL PROTECTED]> >>time - http://docs.python.org/lib/module-time.html > > Ah, thanks! It works here, whereas: > >>datetime - http://docs.python.org/lib/module-datetime.html > > doesn't work, no such module, see: > http://grou

Using MSMQ on Windows (and Navision)

2005-06-26 Thread Andrew Gordon
I'm investigating getting Microsoft Navision to do stuff from a Python script. The recommended way seems to be to use message queues (MSMQ). I can get Navision to send a message to itself fine. I found a couple of code example in an ancient message in this newsgroup. The send.py one I change

Re: tkinter radiobutton

2005-06-26 Thread Eric Brunel
On Sat, 25 Jun 2005 19:34:50 GMT, William Gill <[EMAIL PROTECTED]> wrote: > I am placing radiobuttons in a 4 X 4 matrix (using loops) and keep > references to them in a 2 dimensional list ( rBtns[r][c] ). It works > fine, and I can even make it so only one button per column can be > selected, by