Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Chris Brat
> I do have a wild vision that we can import java libraries (as jar files) into > CPython. Isnt this being achieved by Jython (python code using Java libraries), and in future by the Java scripting framework added into Java 6 ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python development time is faster.

2006-11-13 Thread Chris Brat
I work full time with Java, but downloaded python about a year ago and started playing. I've used it quite a few times in my working environment. -- http://mail.python.org/mailman/listinfo/python-list

Python development time is faster.

2006-11-13 Thread Chris Brat
I've seen a few posts, columns and articles which state that one of the advantages of Python is that code can be developed x times faster than languages such as <>. Does anyone have any comments on that statement from personal experience? How is this comparison measured? Thanks Chris -- http:/

wxPython - which is the better sizer to use with notebook

2006-10-30 Thread Chris Brat
Hi, What sizers do people use to - contain the notebook control in a Frame and, - contain the contents of a single page of the notebook. At the moment Im using a GridBagSizer for both but this seems to be overkill. Is a BoxSizer a better option? Thanks Chris -- http://mail.python.org/mailman/l

Re: Better way to replace/remove characters in a list of strings.

2006-09-05 Thread Chris Brat
Hi Wouldn't this only cause problems with large lists - for once off scripts with small lists it doesn't seem like a big issue to me. Regards, Chris Bruno Desthuilliers wrote: > Chris Brat a écrit : > > Thanks, thats exactly what I was looking for - very neat. > &

Re: Better way to replace/remove characters in a list of strings.

2006-09-04 Thread Chris Brat
Thanks, thats exactly what I was looking for - very neat. George Sakkis wrote: > Philipp Pagel wrote: > > > Chris Brat <[EMAIL PROTECTED]> wrote: > > > Is there a better way to replace/remove characters (specifically ' and > > > " characters in my c

Better way to replace/remove characters in a list of strings.

2006-09-04 Thread Chris Brat
Hi, Is there a better way to replace/remove characters (specifically ' and " characters in my case, but it could be anything) in strings in a list, than this example to replace 'a' with 'b': x = ["a","123a","as"] for i, v in enumerate(x) : x[i] = v.replace("a","b") This works, bu

Re: How to get database metadata information (i.e. existing tables and columns in tables)

2006-08-22 Thread Chris Brat
Thanks for the great feedback. Chris. Chris Brat wrote: > Hi, > > Is it possible to retrieve details about the database, specifically a > list of the tables in the database; and then to retrieve the columns > and their types for the tables? > > Is this dependant on the d

How to get database metadata information (i.e. existing tables and columns in tables)

2006-08-22 Thread Chris Brat
Hi, Is it possible to retrieve details about the database, specifically a list of the tables in the database; and then to retrieve the columns and their types for the tables? Is this dependant on the database? Thanks Chris -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for an intellisense with good help IDE for Python

2006-08-08 Thread Chris Brat
I dont know if it will meet all your needs but SPE (Stani's Python Editor) is quite cool - has code completion. http://pythonide.stani.be metaperl wrote: > Hi, > > I would like an IDE that shows me all methods and functions I can call > on a particular data item. For instance, iter() can be call

Re: how to clear up a List in python?

2006-05-26 Thread chris brat
Doesnt this do what the original poster is try accomplish? Linnorms example - >>> list1 = [0,1,2,3] >>> list1 [0, 1, 2, 3] >>> list1 = [] >>> list1 [] >>> -- http://mail.python.org/mailman/listinfo/python-list

Re: how to clear up a List in python?

2006-05-26 Thread chris brat
Cant we all just get along ? Sorry, couldn't resist. -- http://mail.python.org/mailman/listinfo/python-list