Re: ooopy: newbie cannot get basic functionality to work

2006-12-09 Thread Andrew Sackville-West
On Sat, Dec 09, 2006 at 09:30:32PM -0800, John Machin wrote: > > Andrew Sackville-West wrote: > > > > >>> o = OOoPy (infile='/home/andrew/monthly.ods') > > Traceback (most recent call last): > > File "", line 1, in ? > > TypeErro

Re: speed of python vs matlab.

2006-12-13 Thread Andrew Sackville-West
On Wed, Dec 13, 2006 at 04:07:20PM -0800, Chao wrote: > I've been trying to develop some numerical codes with python, however > got disappointed. > > A very simple test, > > a = 1.0 > > for i in range(1000): > for j in range(1000): >a = a+1 > > unfortunately, it took 4.5 second

Re: automatically grading small programming assignments

2006-12-15 Thread Andrew Sackville-West
On Fri, Dec 15, 2006 at 06:44:37AM +, Dennis Lee Bieber wrote: > On Thu, 14 Dec 2006 12:27:07 -0500, Brian Blais <[EMAIL PROTECTED]> > declaimed the following in gmane.comp.python.general: > > > > I envision a number of possible solutions. In one solution, I provide a > > function > > temp

MySQLdb, lots of columns and newb-ness

2006-12-19 Thread Andrew Sackville-West
Hi list, I've tried, lots of interpreter testing and google grepping to figure this out and I think I'm missing something fundamental. I have an ascii data dump from a POS system that has 131 fields in a single column in a flat file. I can easily open the file, read in the data and assemble it i

Re: MySQLdb, lots of columns and newb-ness

2006-12-19 Thread Andrew Sackville-West
On Tue, Dec 19, 2006 at 07:34:58PM -0800, Todd Neal wrote: > Andrew Sackville-West wrote: > > > > I can successfully connect to mysql and do stuff to my tables my > > specific problem is how to efficiently put those 132 fields into the > > thing. All I have been able t

Re: MySQLdb, lots of columns and newb-ness

2006-12-20 Thread Andrew Sackville-West
On Wed, Dec 20, 2006 at 07:00:38AM -0800, Ant wrote: > > > On Dec 20, 5:20 am, Andrew Sackville-West <[EMAIL PROTECTED]> > wrote: > > > >>> values = ", ".join([escapeAndQuote(f[:-2]) for f in fields]) > > Obviously this is the appropriate c

Re: MySQLdb, lots of columns and newb-ness

2006-12-20 Thread Andrew Sackville-West
On Wed, Dec 20, 2006 at 09:22:59AM +0100, Fredrik Lundh wrote: > Andrew Sackville-West wrote: > > > I've also tried building tuples and lists and then using this > > > > cursor.execute("insert into daily values (%s)", values) > > > > with no l

Newbie In Python

2008-05-20 Thread andrew . smith . cpp
I have Heard About "Python" its a OOD Language. i have to Learn it where from i should start it. i have python compiler at linux Platform. anyone can suggest me about it. Thanks In advance. -- http://mail.python.org/mailman/listinfo/python-list

Author of a Python Success Story Needs a Job!

2009-12-27 Thread Andrew Jonathan Fine
ner for new and completely original work, then for the love of God I implore you to contact me. A mind is a terrible thing to waste. Sincerely, Andrew Jonathan Fine BEE, MSCS, 15 years experience, 5 in Python, the rest in C/C++, about 1/3 embedded design and device drivers, and 2/3 in applica

Re: Author of a Python Success Story Needs a Job!

2009-12-28 Thread Andrew Jonathan Fine
On Dec 28, 6:21 am, Steve Holden wrote: > Andrew Jonathan Fine wrote: > > To whom it may concern, > > > I am the author of "Honeywell Avoids Documentation Costs with Python > > and other Open Standards!" > > > I was laid off by Honeywell several months

Re: Interconvert a ctypes.Structure to/from a binary string?

2008-08-02 Thread Andrew P. Lentvorski, Jr.
On Aug 1, 11:35 pm, Andrew Lentvorski <[EMAIL PROTECTED]> wrote: > Basically, I'd like to use the ctypes module as a much more descriptive > "struct" module. > > Is there a way to take a ctypes.Structure-based class and convert it > to/from a binary string? >

Re: [Python-ideas] Fwd: Re: PEP: add a `no` keyword as an alias for `not`

2019-08-02 Thread Andrew Barnert via Python-list
On Aug 1, 2019, at 13:38, Daniel Okey-Okoro wrote: > > > > not a strong enough justification for breaking any code that uses "no" in > > any other way. > > This is a very crucial point I didn't consider. > > > > What if we could le

Re: [Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Andrew Barnert via Python-list
On Jan 8, 2020, at 01:09, Abdur-Rahmaan Janhangeer wrote: > > But now, a malicious program might try to modify the info file > and modify the hash. One way to protect even the metadata is > to hash the entire content > > folder/ > file.py # we can add those in a folder if needed > __main

Re: [Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Andrew Barnert via Python-list
On Jan 8, 2020, at 01:09, Abdur-Rahmaan Janhangeer wrote: > > Using the wheel-included zip (A), we can generate another zip file (B) with > the packages installed. That generated zip file is then executed. But that generated zip B doesn’t have a trustable hash on it, so how can you execute it?

<    14   15   16   17   18   19