> i wondering, how can i add from my files to table widget?
> for example, i have one file
> $ cat a
> so, the "test" fill in the one or more row or columns
> any help will be appreciate
> python-uk mailing list
> [hidden email] > http://mail.python.org/mailman/listinfo/python-uk >
This mailing list is intended more for discussion of Python events and
stuff of interest to people in the UK, rather than for questions about
use. You probably want python-tutor mailing list, which you can read
To give a quick answer though, you read the lines from a file using
with open('filename') as fp:
for line in fp:
Then you'll have to read the QTableWidget documentation to find out how
to add those lines to it, instead of printing them.