Re: Struggeling with collections

2016-03-07 Thread Roel Schroeven
Faling Dutchman schreef op 2016-03-07 09:24: class Item: def __init__(self, id, productId, quantity, pageCount, files, option, metadata): self.id = id self.productId = productId self.quantity = quantity self.pageCount = pageCount self.files = files

Re: Struggeling with collections

2016-03-07 Thread Faling Dutchman
Op maandag 7 maart 2016 10:31:48 UTC+1 schreef Jussi Piitulainen: > Faling Dutchman writes: > > I am just starting off in python, but have good knowledge of both Java > > and C#. Now is the problem that I need to have multiple instances of > ... > > it prints: <__main__.Item object at 0x02EBF3B0> >

Re: Struggeling with collections

2016-03-07 Thread Jussi Piitulainen
Faling Dutchman writes: > I am just starting off in python, but have good knowledge of both Java > and C#. Now is the problem that I need to have multiple instances of ... > it prints: <__main__.Item object at 0x02EBF3B0> > > So that is not usefull to me. There can be an infinite amount of ...

Re: Struggeling with collections

2016-03-07 Thread Gary Herron
On 03/07/2016 12:24 AM, Faling Dutchman wrote: Hey folks, I am just starting off in python, but have good knowledge of both Java and C#. Now is the problem that I need to have multiple instances of one dictionary, that is not a problem if you know how many, but now, it is an unknown amount. S

Re: Struggeling with collections

2016-03-07 Thread Faling Dutchman
Op maandag 7 maart 2016 09:49:51 UTC+1 schreef Vincent Vande Vyvre: > Le 07/03/2016 09:24, Faling Dutchman a écrit : > > Hey folks, > > I am just starting off in python, but have good knowledge of both Java and > > C#. Now is the problem that I need to have multiple instances of one > > dictionar

Re: Struggeling with collections

2016-03-07 Thread Steven D'Aprano
On Monday 07 March 2016 19:24, Faling Dutchman wrote: > Hey folks, > > I am just starting off in python, but have good knowledge of both Java and > C#. Now is the problem that I need to have multiple instances of one > dictionary, that is not a problem if you know how many, but now, it is an > un

Re: Struggeling with collections

2016-03-07 Thread Vincent Vande Vyvre
Le 07/03/2016 09:24, Faling Dutchman a écrit : Hey folks, I am just starting off in python, but have good knowledge of both Java and C#. Now is the problem that I need to have multiple instances of one dictionary, that is not a problem if you know how many, but now, it is an unknown amount. S

Struggeling with collections

2016-03-07 Thread Faling Dutchman
Hey folks, I am just starting off in python, but have good knowledge of both Java and C#. Now is the problem that I need to have multiple instances of one dictionary, that is not a problem if you know how many, but now, it is an unknown amount. Some background info: I am making a library for a