May-20-2018, 10:23 AM
(May-20-2018, 10:15 AM)killerrex Wrote:record = (obj, viewdata(rawvalue)[0][3],viewdata(rawvalue)[0][0], viewdata(rawvalue)[0][1], viewdata(rawvalue)[0][2],rawvalue) io.append(record)
Since
viewdata(rawvalue)[0]
is referenced 4 times, placing it into a variable seems like a good ideaview_values = viewdata(rawvalue)[0]
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.