Re: beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
"John Machin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] thanks for the help. it is really appreciated. i am going to do some more reading in the next couple of days. jim -- http://mail.python.org/mailman/listinfo/python-list

Re: beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
fast as you posted. templating sure is a great way to create dynamic query strings. very cool so far but still lots to learn. thanks again, jim "John McMonagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 2006-05-31 at 23:24 +, 3rdshiftcoder wr

beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
hi- i am having trouble using parameter values in my function and to be honest a little trouble with member variables. i am trying to pass in the argument 'd' representing delete. what the code will do is if it is 'd' it will make a delete query template string. if it is an 'i' then insert que

Re: pyswt SWT.NULL

2006-05-28 Thread 3rdshiftcoder
I got it. it is SWT.None thanks, jim "3rdshiftcoder" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi- > > i am trying to make a pyswt gui and when it gets to this line: > colType = Combo(self.shell, SWT.NULL) > > i get: > colType = Combo(s

pyswt SWT.NULL

2006-05-28 Thread 3rdshiftcoder
hi- i am trying to make a pyswt gui and when it gets to this line: colType = Combo(self.shell, SWT.NULL) i get: colType = Combo(self.shell, SWT.NULL) AttributeError: NULL when using swt with java i had to have lots of imports at the beginning of a swt file. are they not needed when using pyswt