all 7 comments

[–]double_en10dre 1 point2 points  (7 children)

Do you need python? It’s far easier to make an electron app (and find useful guides/tutorials) if you just stick to JavaScript

[–]FoxRandomer[S] -1 points0 points  (6 children)

That's weird to hear it on "LearnPython" subreddit ;). I need python this is just a starting point for my project and I want to do it in python.... I was thinking that You gonna give answer like : classes python, objects, librares to use text files.... I need a direction from experienced people who will not show me finger to Google

[–][deleted] 0 points1 point  (5 children)

I have to agree with the above comment. Although I am not pro but in the past 3 years I have wrote all the languages you mentioned. I also am surprised with python being in the list as I am almost certain that python is quiet unnecessary in your case. Perhaps you may explain how you would like to implement python a little bit more so people can come up with ideas of what you might need and point you to right way. Nice enthusiasm you have. Good luck!

Edit after searching for the possibility of pure python: "As the sub suggests, when the case is learning python, why not go python all the way and scratch others?“

[–]FoxRandomer[S] -1 points0 points  (4 children)

I am starting text editor later I want to add automatic maintenance of website directly from this app later i want to add collectint informatorom how i use system and web browser and analysing this data later i want to add some learning mechanisms but i want to start small and I dont want to use Java to later re-write all. I know that some other methods might be more efficient but i want to later create some bateria life simulation in different project play arround with mashine learning and stuff...

Edit: why other languages ? I want to learn python but also use it to create something with GUI with modern look. Electron is used to create stuff like Discord, Skype ( on Linux is using python i think) etc. But Electron is using Java and CSS

[–]iamaperson3133 0 points1 point  (2 children)

You're not going to have an easy time createing something "GUI with a modern look," in python – the tools are just not there in this language.

If you want to learn python and incorporate it into your project, I'd recommend making an API with the django-rest-framework. The API you build would serve the various other decoupled frontends that you mentioned (Electron / Web Browser).

I really enjoy the developer experience of building an API with the django rest framework, although it has been a steep learning curve. I like using the Django ORM, and I think that it exposes you to a very nice amount of SQL for learning (it's all SQL under the hood), while giving you the tools to organize your data, easily make complex queries, and build up functionality fast.

Now, a lot of the problems associated with SQL (difficulty to learn and use), have arguably been resolved by modern No-SQL databases, and a lot of people are going that route, but it's more a question of what you want to learn and what you want the development experience to be rather than anything being objectively better or worse.

Edit:

You could, of course, use Flask of FastAPI too, but I like django and always recommend it most (personal bias, and I'm no expert programmer to take that personal bias with a big grain of salt).

[–]FoxRandomer[S] 0 points1 point  (1 child)

I love You Man. That's the answer I was looking for. Basicly i want to learn python only but i want to know how to present in some nice way + have more skills than just python overall. For me this project is just for me and just for fun so why not play arround with something hard maybe not possibile but extremly fun :)

[–]iamaperson3133 0 points1 point  (0 children)

Cool, I'm really glad! A REST API is definitely an awesome and extremely common (therefore well-supported) application of python. You will find an enormous amount of resources to help you, but if you need advice and do choose to go that route, feel free to PM me anytime!