Difference between revisions of "Python code created by Shim"
From Crop Genomics Lab.
Sangrea Shim (Talk | contribs) |
Sangrea Shim (Talk | contribs) |
||
Line 10: | Line 10: | ||
then, input data which you'd like to input to an instance like this way | then, input data which you'd like to input to an instance like this way | ||
− | ClassName(Data4variation1,Data4variation2,,,,) | + | ClassName(Data4variation1,Data4variation2,,,,) |
Revision as of 11:31, 26 March 2014
using class as a high speed searchable variation
class ClassName: def __init__(self,variation1,variation2,,,,): self.variation1=variation1 self.variation2=variation2 ...
import the files include this class then, input data which you'd like to input to an instance like this way
ClassName(Data4variation1,Data4variation2,,,,)