I am new to web-sites field and I was wondering if you can make a simple personal website using only python (NO HTML, CSS, JS) and flask. I was searching a bit on the internet and didn't find any good examples.
Is it possible? And if it is any code examples?
I vould appreciate if you have any suggestions or exaples.
Here is what I want my website to look like(it doesn't need to have this many functions): https://palletsprojects.com/
You can but it's not going to look anything even remotely close to the URL you provided. You are going to need to have at least a little HTML to get your site even remotely close to graphically pleasing. However, I have recently discovered a new framework for web apps which is almost exclusively python. It's called Pynecone. I hope this is what you're looking for.
Before 2023, I have no good answer to this question.
But today, pynecone is the answer for yours.
pynecone can let people write full-stack python code
without HTML and CSS.
(When I post this article, it is 2023/03)
There are four basic resources that can help you understand what it is quickly.
There are some working examples here.
https://pynecone.app/docs/gallery
All examples here are written in python.
This video is helpful
for the application/web programmer to understand what it is.
https://www.youtube.com/watch?v=ur4fCNMPp0I
If you want to know what happened inside of the pynecone, the following video is helpful.
https://www.youtube.com/watch?v=47BL6WLZJ1g
pynecone is very good tool for a python programmer to develop WebApp.
Furthermore, if you want to convert WebApp into iOS/Android App,
then you can use Capacitor to do it.
There is also a good article to introduce how to do it.
https://itnext.io/how-to-build-android-and-ios-apps-with-pynecone-6d2097a7610d
official documents of pynecone
https://pynecone.app/docs/getting-started/introduction
source code of pynecone
https://github.com/pynecone-io/pynecone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With