如何在不使用任何框架的情况下从头开始在Python中构建网站? [英] How to build a website in Python from scratch without using any framework?
本文介绍了如何在不使用任何框架的情况下从头开始在Python中构建网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个项目在python中构建一个网站而不使用任何框架
所以,我想知道如何在python中链接PostgreSQL数据库和HTML
是可能吗?
我尝试过的事情:
我试过搜索它,但只有出现的框架
I have a project to build a website in python without using any framework
so, I want to know how to link between PostgreSQL database and HTML in python
is it possible?
What I have tried:
I tried to search for it but only the frameworks that appear
推荐答案
也许 PostgREST 可能是您感兴趣的:GitHub - begriffs / postgrest:任何Postgres数据库的REST API [ ^ ]
这是一个自托管的网络服务器,可以将任何PostgreSQL数据库转换为REST API,当然这不是一个网站,但可以轻松开发。
还有一个很好的教程: PostgREST文档 - PostgREST 4.4.0文档 [ ^ ]
Maybe PostgREST might be of interest to you: GitHub - begriffs/postgrest: REST API for any Postgres database[^]
This is a self hosted webserver that can turn any PostgreSQL database into a REST API, which is not a website of course but can ease development a lot.
There is also an excellent tutorial at: PostgREST Documentation — PostgREST 4.4.0 documentation[^]
这篇关于如何在不使用任何框架的情况下从头开始在Python中构建网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文