Prev: Detecting new removable drives in Linux
Next: Class attributes / methods..... full Python script
From: Peter Otten on 1 Mar 2010 09:24 Gabor Urban wrote: > I am building a nested data structure with the following compontens: <snip> > Any idea is wellcome. The error messages suggest that you are using classes where you should be using class instances, but you don't provide the code where this problem originates. The code you do give looks like a very literal and incomplete conversion from Java. Rather than go into the details I suggest that you have a look at the Tutorial (and PEP 8) before you proceed. http://docs.python.org/tutorial/index.html http://www.python.org/dev/peps/pep-0008/ Peter
|
Pages: 1 Prev: Detecting new removable drives in Linux Next: Class attributes / methods..... full Python script |