Installation and Connection Peewee

Notes Single

pip install peewee

Connection

import peewee
database = peewee.MySQLDatabase(
    'mydatabasepython',
    host='localhost',
    port=3306,
    user='root',
    passwd=''
)

Thanks for reading :)
I invite you to continue reading other entries and visiting us again soon.

Related Posts: