Simple file writing techiques ...

2006-07-19 Thread cdecarlo
Hello, I've often found that I am writing little scripts at the interpretor to read a text file, perform some conversion, and then write the converted data back out to a file. I normally accomplish the above task by reading the lines of the entire file into a list, preforming some function to that

Re: Regular Expression problem

2006-07-13 Thread cdecarlo
Hey, I'm new with regex's as well but here is my idea. Since you don't know which attribute will come first why don't structure your regex like this (first off, I'll assume that \s == ' ', actually now that I think of it, isn't \s any whitespace character? anyways \s == ' ' for now) '' I think

Re: Is there a limit to os.popen()?

2006-07-11 Thread cdecarlo
Hello, I'm not 100% sure on this but to me it looks like there is a problem in your make file. I would look in there first, see where 'cat' is executed, I bet your problem will be around there. Hope this helps, Colin Carl J. Van Arsdall wrote: > I'm not sure the proper way to phrase the questi

Oracle DBI Module? Recommendations

2006-07-04 Thread cdecarlo
Hello, I'm planning on starting some database work on an Oracle 9i database, any suggestions on which module I should use. >From the python.org website I see that the options are: - DCOracle2 - cx_Oracle - mxODBC Any help would be appreciated but please, support your answers somehow. Thanks