Python Forum
Display data from a chat
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display data from a chat
#1
Good morning,

I'm starting this topic to get python tips for displaying textual data.

I retrieved chat-type data from a database and I would like to display these data.

Currently I extract them in Excel format with a table like this:

ChatID UserName UserMessage
1 Sophie MessageA
1 Antoine MessageB
1 Antoine MessageC
1 Sophie MessageD
2 John MessageE
2 Sophie MessageF
2 John MessageG

Ideally I would like to display the information in a pretty way grouped by ChatID and not have a line for each message because I find that unreadable.

can you give me some advice please ?

Thanks.
Reply
#2
It seems to me you are using too many manual processes that could be automated completely with python.
Perhaps it would be better to state your goals clearly in an outline.
Suggestions could then be made from that.
Reply
#3
In fact, the data came from an abandoned application and were stored in a database. They are then retrieved in table form as shown in the first post with a request.

The problem being that the restitution in table form is not clear at all and I would like to display this information in a more user friendly way. Something like this :

[Image: 1719604772-imageexemple.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Display MySQL data in QLlineEdit text boxes JayCee 1 4,260 Mar-26-2020, 03:55 PM
Last Post: JayCee
  Display and update the label text which display the serial value jenkins43 5 9,340 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 4,089 Jan-05-2019, 01:48 PM
Last Post: wuf
  [PyQt] How to display multiple data(from 2 different related table) in one cell of QTableWid yangjae 4 4,565 Oct-17-2018, 07:54 AM
Last Post: Larz60+
  display reading sensor data hassan_elahi 5 5,107 May-05-2018, 04:28 PM
Last Post: hassan_elahi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020