numberofrow, its value is dynamically set in form field.
now since numberofrow is in multiple tables, when i receive that variable from form,
if only one numerofrow, its a String, for ex. numberofrow = 01
if more than one numberofrow, its a list, for ex. numberofrow = [01, 02, 04]
Now how do i differentiate if its a list or string in my python code?
am thinking of using,
if type(numberofrow).__name__=='list':
#do this
else:
#do this
Thanks, Sunny.