CrabbyPete <pete.do...@gmail.com> wrote:
>
>I have a python script that automatically loads wordpress, up to the
>point that it asks for the admin password.
>that is a php function call
>
>function wp_install( $blog_title, $user_name, $user_email, $public,
>$deprecated = '', $user_password = '' )
>
>Is there a way to call this function from python?

Are you running this script on the web server, or are you invoking this
over a socket using something like urllib?

If you are running remotely, then PHP does not exist.  All you have are
HTTP requests.  You need to make yourself look exactly like a human being
at a browser.  Fortunately, that's not too hard.
-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to