'How to insert any files into Oracle Database using PYTHON

I have a .txt generated by python that contains a base 64 that represents a PDF

How can i insert it into oracle database?

something like ("insert into my_table (id,blob) VALUES (1,>>>?????????<<)";

My convert



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source