Pass a variable from python code to Wix databse

Hey guys,

First of all sorry if i’m doing mistakes, i’m not english.
So i have a python variable which is a simple identification code of 4 digits (for example 1245).
And i want to send that variable from my python code to my wix database.
Because on my website you can enter that identification code, but i need to check that the code is the same.
Basically, the user has to enter a code (ex: 1245) on my website but i need to check that the code is the same that the one i send from my python code to my database.

I hope that i’m clear !

Thaks in advance