[Tutor] Python and DB

Alan Gauld alan.gauld at yahoo.co.uk
Thu Jun 27 19:03:00 EDT 2019


On 27/06/2019 22:20, Brave Heart via Tutor wrote:
> I would like python to write to DB so  I can from DB write on a webpage with PHP...

Yes, that's easy enough. Python supports access to many databases,
do you have one in mind? If not the SQLite module that comes in
the standard library is probably more than adequate for your needs.
PHP has modules for reading SQLite too.

If you are familiar with using databases in any other language the
Python DBAPI should be easy to pick up.

If you don;t know SQL then you might like the database topic in
my tutorial(see below)

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list