Re: Python Debugger / IDE ??

2006-03-16 Thread Rowdy
Don Taylor wrote:
 Is there a free or low-cost version of Delphi for Windows available 
 anywhere?
 
snip

There used to be a Delphi 6 Personal Edition that was available free
(for non-commercial use).  You might still find it around somewhere.

Rowdy

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: question about deleting records from mysql

2005-07-27 Thread Rowdy
[EMAIL PROTECTED] wrote:
 ok. did this
 
 
cursor.execute(DELETE FROM table WHERE autoinc  1000)
 
 245L
 
cursor.commit()
 
 
 i got an AttributeError 'Cursor' object has no attribute 'commit'
 
 hmm. what should i do now?
 the stuff about writing a lightweight layer between the dbapi and the
 program shot right over my head. sorry, but thanks
 

IIRC it is the connection that can commit(), not the cursor.

Rowdy
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Max files in unix folder from PIL process

2005-03-28 Thread Rowdy
David Pratt wrote:
Hi.  I am creating a python application that uses PIL to generate 
thumbnails and sized images. It is beginning to look the volume of 
images will be large. This has got me to thinking.  Is there a number 
that Unix can handle in a single directory. I am using FreeBSD4.x at the 
moment. I am thinking the number could be as high 500,000 images in a 
single directory but more likely in the range of 6,000 to 30,000 for 
most. I did not want to store these in Postgres. Should this pose a 
problem on the filesystem?  I realize less a python issue really but I 
though some one might have an idea on the list.

Regards,
David.
FreeDB (CD database) stores one file per CD in one directory per
category.  The misc category/directory on my FreeBSD 5.3 system
currently contains around 481,571 small files.  The rock
directory/category contains 449,208 files.
As some have said, ls is *very* slow on these directories, but otherwise
there don't seem to be any problems.
Rowdy
--
http://mail.python.org/mailman/listinfo/python-list