I am writing a GUI in Python using Tkinter. I work from a DB on MySQL, when sampling I get some information that needs to be displayed on the screen. A cursor in the PyMySQL library provides data in a 'class' tuple'.
How to display 'class' tuple' or 'class numpy.ndarray' correctly (working with this and that) so that it is beautiful and without [], not like in the screenshot?
ray = np.array(myCur.fetchall())
ray = ', '.join(myCur.fetchall()[0])
orray = '\n'.join(myCur.fetchall()[0])
- Sergey Nudnov