Psycopg2 can not create table
问题 From Jupiter notebook, I was able to create Database with Psycopg2. But somehow I was not able to create Table and store element in it. import psycopg2 from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT con = psycopg2.connect("user=postgres password='abc'"); con.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT); cursor = con.cursor(); name_Database = "socialmedia"; sqlCreateDatabase = "create database "+name_Database+";" cursor.execute(sqlCreateDatabase); With the above code, I can see