How to check for instances of a class

2006-11-14 Thread erokar
Traversing a list of variables, I need to check wheter an element in the list is an instance of a (user defined) class. What cind of comparison operator can I use? Can't seem to find this in the documentation. I anyone have an example it is much appreciated. -- http://mail.python.org/mailman/list

Re: How to check for instances of a class

2006-11-14 Thread erokar
That did the trick, thank you! -- http://mail.python.org/mailman/listinfo/python-list

Make instance global -- possbile?

2007-03-05 Thread erokar
Rather new to OOP in Python... I'm writing an app where several objects need to access and change the state of ONE instance. I could of course instantiate the instance and then pass it along the objects, but that's cumbersome, especially as it would need to be "passed through" classes that don't

Fast and easy GUI prototyping with Python

2008-06-21 Thread erokar
Which tools would you use? I want the interface design to be as easy and fast as possible, all ideology aside. I'm considering either IronPython+Visual Studio or Python+Qt -- but I'm open for other suggestions. Visual Studio seems to offer the easiest solution, but is IronPython stable enough? How

Re: Fast and easy GUI prototyping with Python

2008-06-21 Thread erokar
Thanks for your input. The prototype will be running on Windows only. Portability and being able to develop on other platforms would be a bonus, but is not a requirement. I guess the choice is going to be between Visual Studio and Qt. Of importance is: 1) Being able to develop and change (dummy)