K
K
KTG2022-02-11 22:42:21
Android
KTG, 2022-02-11 22:42:21

What are the best frameworks to use for python for phone and web?

I want to learn Python.
I read textbooks on the basics, watched videos. I decided to set a small task - a mini-project: "wish list".
But a little confused. I know that they write in python for the web (Flask) and for android (KivyMd, eel). The question arises, is it possible to write the logic of the service in such a way that it would work both as a website and publish it for the phone with minimal alterations. Something like PWA, but I would not want to immediately climb into PWA (Although I read that they do PWA with Django later).

In my opinion, something similar can be done with Eel. Those. your logic is all in python (core), and the appearance is in html, css and js. If you want an offline version of the application - you finish the module for working with SQLite and compile it. If you want a web service - a module with MySQL / PostgreSQL and upload it to the web server.
So I want to find out from more experienced people how much I think correctly. Or will it not work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alan Gibizov, 2022-02-12
@phaggi

I want to learn Python.

Then forget about mobile development for at least a year.
Take a book and WORK. If you work seriously, at least six months.
Then write your calculator, fizzbuzz, tic-tac-toe, 2048, tetris. Then you choose the direction of application of python and study what is attached to it (frameworks, databases, mathematics, networks, microservices, well, you'll figure it out there).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question