Y
Y
Yoshinon Eared2018-05-15 10:39:42
Python
Yoshinon Eared, 2018-05-15 10:39:42

Decide on a stack for developing UI Style applications in Python?

Examples
5afa8cb48bdcc641098709.png5afa8cba10356998435634.jpeg5afa8d6067ba3665621358.jpeg5afa8d6677a70339704948.jpeg5afa8d6cdbfc4885918463.png

At the moment, a bunch of PyWebView + Bottle / Flask comes to mind. That is, when starting the program, launch a local server, display the necessary information there through views (I don’t know how it’s called not in jang), and take everything with the help of pywebview.
How to tie up the UI here? Does it have to be some kind of framework, or is it possible to sculpt styles directly using HTML + CSS?
Maybe there are other solutions?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
riot26, 2018-05-15
@riot26

PyQt/PySide supports all Qt features, including complex CSS styles. The idea with the server is working, but it produces a lot of frills.

P
Philip, 2014-06-23
@shcherbanich

www.cyberforum.ru/php-database/thread639162.html

G
GM2mars, 2014-06-23
@GM2mars

I don't really understand what you want? In the first part of the question you ask how to display all the data from the database, in the second part you say that you know how to display all the data through while. So what do you need?
PS

<?php
$cont="<table>";
while ($row=mysql_fetch_array($rs)) {
$cont.='<tr><td>'.$row['title'].'</td><td>'.$row["author"].'</td><td>'.$row["text"].'</td></tr>';
});
$cont.='</table>';

echo $cont;

S
Sergey Melnikov, 2014-06-23
@mlnkv

<?php foreach ($row as $item): ?>
  <tr>
    <td><?php echo $item['title'];?></td>
    <td><?php echo $item["author"];?></td>
    <td><?php echo $item["text"];?></td>
  </tr>
<?php endforeach; ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question