Hans Schwaebli wrote:
> Hi,
>
> am am a Python beginner with Java knowledge background. Infact I need to
> use Jython.
>
> My first beginner question is how to determine of what type a variable is?
Let v be the var, 'print type(v)' should* work. [* I've never used
Jython before].
You can pr
Duncan Booth wrote:
> ...
> Yes. Try using weak references. Specifically a weakref.WeakValueDictionary
> should meet your needs.
:D
Thank you.
Cristiano
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I'm trying to write a Container which should mimic a list. Basically,
the container pulls items on the fly from an unspecified source through
a function and returns an instance of a given class over the pulled item.
That is:
class lazy(object):
def __getitem__(self,index):