Created
October 16, 2017 20:54
-
-
Save Gwith/2d63f934614f1474fe49acb129a4d179 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test(self): | |
a_list = [] | |
for row in range(self.orders_table.rowCount()): | |
for col in range(self.orders_table.columnCount()): | |
if self.orders_table.item(row, col) == None: | |
value = '0' | |
else: | |
value = self.orders_table.item(row, col).text() | |
a_list.append(value) | |
print(a_list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment