That worked. Thank you for the explanation.
I was trying to take a list of these objects and insert it as a part of a mongo
document using the pymongo package.
But based on what your input and little more reading up, I can use the
"__dict__" method to accomplish the same.
Thanks again.
- M
Mukund Chavan wrote:
Hi,
I was trying to get a list of Class Objects.
The Class itself has string fields and a dictionary that is initialized as a part of the "__init__"
No it doesn't. It has a dictionary that is initialised *once*, when the
class is defined. From that point on, every instan
Fred G wrote:
Hey guys,
I want to write a short script that takes from an input excel file w/ a
bunch of rows and columns. The two columns I'm interested in are "high
gains" and "genes." I want the user to write:
Which genes are associated with gains over 20%?
Depending on your requiremen
Hi,
I was trying to get a list of Class Objects.
The Class itself has string fields and a dictionary that is initialized as a
part of the "__init__"
However the fields of the dictionary for each object in the list of class
objects seems to be the same.
I took an example from the following sit
Well everybody, sorry for the incomplete sentences
and overall poor English but I wanted to make this
simple to read and understand for someone who
is completely inexperienced in any sort of programming,
as I am (very first day messing with this stuff, e.g.,
terminal). This is the result of hou