Re: 10GB XML Blows out Memory, Suggestions?

2006-06-08 Thread Thomas Ganss
>>medium. Even a SQLite database table should do better, and you can ship it >>around just like a file (just can't open it up like a text file). > > > A table helps only if the data is tabular (i.e. a single relation), > i.e. probably never (otherwise the sending side would have shipped > someth

Re: Large Dictionaries

2006-05-28 Thread Thomas Ganss
Klaas schrieb: > 4. Insert your keys in sorted order. This advice is questionable - it depends on the at least on the db vendor and probably sometimes on the sort method, if inserting pre-sorted values is better. My gut feeling on this matter is: IF the insert times of pre-sorted values is far be

Re: VB to Python migration

2006-01-28 Thread Thomas Ganss
Josh schrieb: You haven't specified where your main pains are. Do you have at least rudimentary architecture ? How often do you have code reviews / refactored your code ? Have you been striving for good code ? Is it a total mess ? Guessing only from the number of screens, you probably have more t

Re: csv format to DBase III format

2006-01-15 Thread Thomas Ganss
Hi, >I need to transfer csv format file to DBase III format file. >How do i do it in Python language? http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362715 >> >>>I create a dbf file, it can be opened by Excel but it cannot be opened >>>by Access. Where is the error in my

Re: python and VisualFox dbf

2005-12-11 Thread Thomas Ganss
lux schrieb: > Hi, > I've a dfb written in VisualFox, > I need to send a "pack" and "reindex" > but in odbc is not supported... > > Anybody know how to do this? > > TIA, > Luca > I am quite sure this is supported in OLEDB. I thought this was also supported via ODBC, but you have to make sure tha

Re: Some questions

2005-08-18 Thread Thomas Ganss
Cameron Laird schrieb: > In article <[EMAIL PROTECTED]>, > Alessandro Bottoni <[EMAIL PROTECTED]> wrote: > >>Titi Anggono wrote: >>>1. Can we use Tkinter for web application such as Java? ... > ... or, if you mean, "is Python an apt language for client-side > Web development in the way Java is, w

Re: win32ui CreateFileDialog SLOW (since the SP2 Windows XP patch?)

2005-04-28 Thread Thomas Ganss
MsKitty schrieb: Neil - Interesting theory, but I installed brand new versions of Python (2.4.1) and the win32 extensions on a machine that had no Python and got the the same 4 minute response time, so that does not seem a likely explanation, although its possible. - Kitty Standalone machine or c

Re: running a C program with python script

2005-03-09 Thread Thomas Ganss
M.N.A.Smadi schrieb: hi; how can i do the following: 1- run a C program from a python script 2- pass that C program an argument 3- Read the out of the program into a buffer that is local to the script thanks m.smadi in addition to the other approaches: if you want only a few specific lines of c you

Re: firefox python plugin

2005-03-09 Thread Thomas Ganss
M.N.A.Smadi schrieb: hi; i want to write a script to do the following: when using firefox to download a textfile, instead of saving it to the hard dist, i want to run a python script on it, and i want the python script then to prompt me for the location where i want to store the processed downlo

Re: wxPython/IEHtmlWindow documentation (what events are available ?)

2005-03-01 Thread Thomas Ganss
Richard Shea schrieb: 'DOCUMENTCOMPLETE' seems fairly self-explanatory but others such as 'BEFORENAVIGATE2' and 'STATUSTEXTCHANGE' are less guessable. I've looked at (what I think is) the MS documentation but I cannot find references to any of these events - can anyone point me information please ?