I have a python program that installs a wordpress site on my server. It downloads the zip and unpacks it into a directory, configures the database and user, configures the configuration file. Now I would like to call the wp_install function in wp-admin / include / upgrade.php and pass it the parameters in which it needs $ weblog_title, $ user_name, $ admin_email ...
My question is, how can I call this function from python? Can I make urllib.urlopen, and if so, how can I call the wp_install function with the correct parameters?
python wordpress
Crabbypet
source share