|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/how-to-create-crud-application-with-python-and-postgresql/
课程评论:没有评论
课程名称:如何使用Python和PostgreSQL创建CRUD应用程序 课程概述:在本课程中,您将学习如何将Python应用程序与PostgreSQL数据库进行接口。Python有多种模块可供您与数据库交互。我们将安装psycopg2连接模块,以便在Python应用程序中与PostgreSQL数据库进行交互。此外,我们将安装PostgreSQL数据库服务器,并创建一个新的数据库和表,以供我们的Python应用程序使用。 我们将使用Tkinter创建Python应用程序的前端,Tkinter是一个内置的Python模块,用于创建图形用户界面。我们将从Tkinter模块导入ttk模块,这是一个主题小部件库,其中包含各种类型的小部件,如按钮、标签等,供我们构建Python应用程序的图形用户界面使用。同时,我们还会从Tkinter模块导入其他必要的组件,以便我们的Python应用程序能够正常运行。此外,我们将创建一个数据库配置文件,以便实现Python应用程序与PostgreSQL数据库之间的交互。 通过本课程,您将掌握使用Python和PostgreSQL创建CRUD应用程序所需的核心技能。
In this course you learn how to interface a Python application program with a PostgreSQL database. Python has various modules that you can use to interact with databases. We will install psycopg2 connector module to enable us interact with PostgreSQL database from our Python application.We will be installing PostgreSQL Database Server and also create a new database and table that our Python application will interact with.We will create the Python application frontend using Tkinter which is a built in Python module used to create graphical user interfaces. From tkinter module we will import ttk module which is a themed widget library that contains various types of widgets like buttons,labels etc that we can use to build the graphical user interface for our Python application. We will also import other bits and pieces from the tkinter module that our Python application will use.Also we will create a database configuration file that twill be used to interact with the PostgreSQL database from our Python application.