Re: Basic Lotus 1-2-3 worksheet creation class for Python

2017-09-15 Thread geoffrey . eisenbarth
I just wanted to let you now that as someone whose boss prefers to use WK1 in 2017, this is going to save my life. Thanks :) About to try this out, if I have to do anything to get it to work with Python3 I'll post the changes here later. -- https://mail.python.org/mailman/listinfo/python-list

Re: emptying a list

2009-10-01 Thread Geoffrey Clements
"lallous" wrote in message news:ha2htc$u9...@aioe.org... > Hello > > What is faster when clearing a list? > > del L[:] > > or > > L = [] > Oh, "L = []" definitely, on the basis that there are fewer characters to type. http://docs.python.org/3.1/library/profile.html -- Geoff -- http://mai

Re: Video information

2008-08-11 Thread Geoffrey Clements
"Bill McClain" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 2008-08-09, dusans <[EMAIL PROTECTED]> wrote: >> Is there a py module, which would get me information of a movie file: >> - resolution >> - fps > > I don't know of one. I use the transcode utilities for this and parse

Re: ?

2008-05-15 Thread Geoffrey Clements
"urikaluzhny" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On May 15, 10:06 am, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "urikaluzhny" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > | It seems that I rather frequently need a list or iterator of the form > | [x f

Re: How do I print out in the standard output coloured lines

2007-02-02 Thread Geoffrey Clements
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Feb 2, 1:38 pm, rzed <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote > innews:[EMAIL PROTECTED]: > > > > > On Feb 2, 1:16 pm, rzed <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] wrote > >> innews:[EMAIL PROTECTED]: > > >> > Hi

Re: Writing and reading variables to/from flat file

2006-12-14 Thread Geoffrey Clements
"Kevin Walzer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I want to write some variables (user preferences, specifically) to a > text file and then read the values from that file. > > Here is my code to write the data: > > verbosemodes= """ >Detailed = "-vv" >Basic = "-q

Re: logo design

2006-11-01 Thread Geoffrey Summerhayes
Ken Tilton wrote: > alex23 wrote: > > Xah Lee wrote: > > > >>No personal offense intended, but human animal's history is what? 3000 > >>years at least in recorded history? And, all you can think of is what, > >>the view points of a fraction of your personal life span? > > > > > > Thank god evoluti

Re: John Bokma harassment

2006-05-25 Thread Geoffrey Summerhayes
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Geoffrey Summerhayes" <[EMAIL PROTECTED]> wrote: > >> After you kill Navarth, will it be nothing but gruff and deedle >> with a little wobbly to fill in the chinks? >

Re: John Bokma harassment

2006-05-25 Thread Geoffrey Summerhayes
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dra¾en Gemiæ <[EMAIL PROTECTED]> wrote: > >> There is a person on USENET, particularly in hr. hierarchy that >> posts under three different accounts. Sometimes he argues with >> himself, and sometimes event supports himsel

Re: John Bokma harassment

2006-05-24 Thread Geoffrey Summerhayes
"Bill Atkins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John Bokma <[EMAIL PROTECTED]> writes: > > [snip] > >> -- >> John MexIT: http://johnbokma.com/mexit/ >>personal page: http://johnbokma.com/ >> Exper

Re: MySQLdb "begin()" -

2006-04-25 Thread Geoffrey Clements
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi - Feeling a bit weird about this but I cannot find the 'begin' > method on a connection object of MySQLdb. Can anyone explain why ? > > I'm using version 1.2.0 which is pretty recent and I've read that > 'begin' should be a method of

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-21 Thread Geoffrey Summerhayes
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > After the basic fact of generating the exclusion - a considerable > achievement - the program should be interactive. What if the target set > has thousands or millions of elements? There should be a loop-like way > ('do' in Haskell, f

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-20 Thread Geoffrey Summerhayes
"Dinko Tenev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: >> It would seem that your program is just filtering the full cartesian >> product, right? The solution I'm looking for generates the elements >> one-by-one so that it could be used in a loop. > >

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-17 Thread Geoffrey Summerhayes
Wade Humeniuk wrote: > [EMAIL PROTECTED] wrote: > > What I have in mind is the efficient, generation of the > > complement S^n/WC(S^n). A good program should initialize, generate, and > > terminate. > > > > T=cartprodex(S,n,WC); //initialize > > for all i in T do > > what you want with i > >

Re: wxGridCellEditor and EVT_CHAR

2005-12-19 Thread Geoffrey Clements
"lux" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi to all, > I need to handle EVT_CHAR in a wxGrid when wxCellEditor is activated, > but I don't know how. > Can anyone help me? > it's probably better to ask this on comp.soft-sys.wxwindows -- Geoff -- http://mail.python.o

Unpacking Binary Data - not using struct module

2004-12-15 Thread Geoffrey
I am working on a file conversion project that reads data from a one file format, reformats in and writes in out to another. The data is records of informations - names address, account number,statistics. The numeric values in the original file are stored in what appears to be a "packed" data for

Re: Struggling with struct.unpack() and "p" format specifier

2004-12-01 Thread Geoffrey
e addition, helping with code clarity, readability and saving quite a few lines of code - well atleast me anyways ! Thanks again. Peter Hansen <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Geoffrey wrote: > > As I mentioned, I can parse the string

Struggling with struct.unpack() and "p" format specifier

2004-11-30 Thread Geoffrey
Hope someone can help. I am trying to read data from a file binary file and then unpack the data into python variables. Some of the data is store like this; xbuffer: '\x00\x00\xb9\x02\x13EXCLUDE_CREDIT_CARD' # the above was printed using repr(xbuffer). # Note that int(0x13) = 19 which is exactl