Python Forum
Display a tree - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Display a tree (/thread-20982.html)



Display a tree - binhxp - Sep-09-2019

Hi everyone,

I am writing a small app using Python and PyQt5 and have a input data that shows a tree as below:

Level 0
--Level 1
--Level 1
----Level 2
----Level 2
--Level 1
----Level 2
------Level 3
----Level 2

I would like to display this input data as image below:

https://drive.google.com/open?id=1nHlpvQwbSlQU2eZ3fE7VK2pA5um8qB7n

Is there anyone know which tool I should use to display it?

Thank you so much,