How to split one column into two in python? and how to do the same with strings? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to split one column into two in python? and how to do the same with strings?

Как в Puthon разделить один столбец на два? и как сдклать то же самое со строками? How to split one column into two in python? and how to do the same with strings? Что бы получилось вот так👇🏼 ______________ | |_____| | | | ————————- | | | | ————————-

14th May 2023, 4:55 AM
Дмитрий Бендин
7 Answers
+ 5
You mentioned tkinter in your tags. If you want to separate the screen (GUI) itself, use the built in techniques to manage the layout: Frame, grid, pack, place. https://www.pythonguis.com/tutorials/use-tkinter-to-design-gui-layout/
14th May 2023, 6:09 AM
Tibor Santa
Tibor Santa - avatar
14th May 2023, 6:55 AM
JaScript
JaScript - avatar
+ 2
Hi, Дмитрий Бендин ! Is it a table you think about? In Python you can build a matrix with list like: mtrx = [[1, 2], [3, 4], [5, 6]] That list of list you can manipulate of course, or are you thinking of something else? But you need to start with some definition of you table before discussing how to manipulate it.
14th May 2023, 5:43 AM
Per Bratthammar
Per Bratthammar - avatar
+ 1
HI, Tibor Santa, thank you very much, I will definitely take your advice!
14th May 2023, 6:15 AM
Дмитрий Бендин
+ 1
JaScript that's exactly what I needed🙂 thank you!
14th May 2023, 6:21 AM
Дмитрий Бендин
+ 1
thank you and wish you the same!)
14th May 2023, 6:57 AM
Дмитрий Бендин