Difference between revisions of "Python tips"
From Crop Genomics Lab.
KangHeum Cho (Talk | contribs) (Created page with "=Codes= isinstance(obj, type) --> boolean to check if obj is in type") |
KangHeum Cho (Talk | contribs) (→Codes) |
||
Line 1: | Line 1: | ||
=Codes= | =Codes= | ||
− | isinstance(obj, type) | + | isinstance(obj, type) \n |
--> boolean to check if obj is in type | --> boolean to check if obj is in type |
Revision as of 06:16, 23 January 2019
Codes
isinstance(obj, type) \n --> boolean to check if obj is in type