This is an introduction to Python PostgreSQL database.
These files help us to connect to PosgreSQL database university created using psql shell locally. The following prerequisites need to be met:
- PostgreSQL is installed locally
- Univesity sample database is created in PostgreSQL using psql command prompt
The files must run in the following order:
- postgresql_university_database.ini must be created and stored in the same folder where these files are however this file is not included in the repo as it contains sensitive information to connect to university database
- postgresql_config.py
- postgresql_universitydb_connect.py
- create_student_subject_tables.py
- insert_four_subjects.py
- update_datastructure_subject.py
The excluded postgresql_university_database.ini file must be created using the following pattern:
[postgresql]
host=localhost
database=university
user=postgres
password=