Win32 Excel Generation Slow

2006-12-01 Thread Daniel Bowett
I am trying to create an excel document that displays a table of data. It does exactly what I want but takes a long time. I am writing around 1000 rows and it takes around a second to do each row. Is there a quicker way to write this? The reason I want excel is this needs to read and

Re: extracting numbers from a file, excluding fixed words

2005-10-29 Thread Daniel Bowett
dawenliu wrote: Hi, I have a file with this content: xxx xx x xxx 1 0 0 0 1 1 0 (many more 1's and 0's to follow) y yy yyy yy y yyy The x's and y's are FIXED and known words which I will ignore, such as This is the start of the file and This is

Secure FTP

2005-04-27 Thread Daniel Bowett
I need to download files over a secure channel. I have been looking into Paramiko which seems to have the functonality I need. The problem is I need a FTP server which supports key based encryption to install on my windows server. Has anyone succeeded in doing this? If so - what FTP server did

PIL Expand Canvas

2005-02-19 Thread Daniel Bowett
I'm new to the PIL module but think it would be useful for dealing with all the product images for the sites I work on. I can see how to do most things I need apart from expanding the canvas. By that I mean if I have an image which is 200 pixels high and 180 pixels wide - I will want to pad it

Re: MYSQL - how to install ?

2005-02-17 Thread Daniel Bowett
[EMAIL PROTECTED] wrote: Daniel Bowett wrote: Lad wrote: I am sorry it was my fault I did not say that clearly. I do not have a problem to install MySQL server but I do not know how to install MySQLdb module on my windowsXP so that I can work with MySQL server via Python 2.3. Thanks for help Lad

Re: MYSQL - how to install ?

2005-02-16 Thread Daniel Bowett
Download MySQL for windows at: http://www.mysql.com Then: http://www.google.co.uk/search?hl=enq=python+mysqlbtnG=Google+Searchmeta= Lad wrote: I use XP windows and Python 2.3. How can I install MYSQL on my computer? I could not find any installer for MYSQL and Python 2.3 Thanks for help Lad. --

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-16 Thread Daniel Bowett
john san wrote: How to install python under DOS and is there any Wxpython-like can be installed under dos? Thanks. Are you actually still running a pure DOS machine? Or are you running the dos prompt through Windows? -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQLdb

2005-01-26 Thread Daniel Bowett
Dennis Lee Bieber wrote: On Tue, 25 Jan 2005 20:43:54 +, Daniel Bowett [EMAIL PROTECTED] declaimed the following in comp.lang.python: As a test I have written a script that executes 3000 insert statements on a table. The table contains 10 fields with a mix of text and numbers - its

Re: MySQLdb

2005-01-26 Thread Daniel Bowett
Daniel Bowett wrote: I have just started playing around with MySQLdb for a project I am planning. As a test I have written a script that executes 3000 insert statements on a table. The table contains 10 fields with a mix of text and numbers - its a product table for a website eg UPC

MySQLdb executemany

2005-01-26 Thread Daniel Bowett
I seem to have found a bug/limitation of executemany in MySQLdb. I am inserting 3100 records into a database. It works fine and adds them in about 1 second. I went back to the program today and realised i'd missed a field so added it to the insert statement. This seems to break it if I try to

Re: MySQLdb executemany

2005-01-26 Thread Daniel Bowett
Daniel Bowett wrote: I seem to have found a bug/limitation of executemany in MySQLdb. I am inserting 3100 records into a database. It works fine and adds them in about 1 second. I went back to the program today and realised i'd missed a field so added it to the insert statement. This seems

MySQLdb

2005-01-25 Thread Daniel Bowett
I have just started playing around with MySQLdb for a project I am planning. As a test I have written a script that executes 3000 insert statements on a table. The table contains 10 fields with a mix of text and numbers - its a product table for a website eg UPC, ProductName, Price etc. The

Re: MySQLdb

2005-01-25 Thread Daniel Bowett
Swaroop C H wrote: On Tue, 25 Jan 2005 20:43:54 +, Daniel Bowett [EMAIL PROTECTED] wrote: I have just started playing around with MySQLdb for a project I am planning. As a test I have written a script that executes 3000 insert statements on a table. The table contains 10 fields with a mix

Re: mod_python friendly isps in europe

2005-01-20 Thread Daniel Bowett
[EMAIL PROTECTED] wrote: Hello everybody I'm thinking about improving my web site scripts and would like to use Python instead of PHP/Perl. Does anyone know of mod_python friendly ISPs in europe? With prices around 10 ? Thanks in advance, Paulo I would doubt you will find any commercial python

Re: What's the best python web-developer's editor

2005-01-20 Thread Daniel Bowett
I only use Windows and I only ever use Textpad. It gives nice syntax highlighting, indentation and you can run your script with it too. andy wrote: Anybody like to comment on which editor they use for python web app development - for both discrete and mixed python and html code, and why? I'm

Re: News Reader

2005-01-13 Thread Daniel Bowett
OK, ask a stupid question I wasn't aware I needed a Usenet account. It's simple when you know how. Peter Hansen wrote: Robert Kern wrote: Robert Kern wrote: Daniel Bowett wrote: Is anyone reading this list through thunderbird as news? If so - how did you set it up? I subscribed

Re: encryption/decryption help

2005-01-12 Thread Daniel Bowett
MD5 and SHA are by their very nature one way encryption. You cannot decrypt them. A quick google for other encrytion methods found this: http://www.amk.ca/python/code/crypto.html What you will need to do is find an encryption methos that uses a key which you use to encrypt and decrypt the

Re: Python evolution: Unease

2005-01-05 Thread Daniel Bowett
Batista, Facundo wrote: [John Roth] #- I would like to contribute some documentation to Python. #- I've got the time, I write quite a bit, etc. I've got fairly #- strong opinions about some things that need to be documented, #- (such as all the new style class descriptor stuff from 2.2) #- and I

Re: Python evolution: Unease

2005-01-05 Thread Daniel Bowett
Batista, Facundo wrote: [Daniel Bowett] #- Contribute to where on Sourceforge??? Which domentation are #- we talking #- about in general? Suppose you're reading Python documentation. Don't know, for example, os.remove(). There you find that a particular parragraph is difficult to understand. You