PHP and Python

Lothar Scholz llothar at web.de
Sun Dec 28 08:00:46 EST 2003


"Pythonious" <na> wrote in message news:<vuskd5m0sq7jc1 at corp.supernews.com>...

> I want to do this using Tkinter but what I want to do is be able to use some
> sort of network protocal to remotely log in to my database I guess you could
> call it SSH or telnet to be able to edit the records in my database from my
> computer. But through a Graphical environment without having to execute
> mysql commands.

Why don't you write your app with TkInter and use the normal mySQL API
?
Only change the hostname and port in the MySQL driver. Every good (!!)
web hoster let you access your database remotely.

With this you can test your app on your local server. SSH or telnet
are not usefull for complex interactions and datatransfer.

Maybe you want to write a PHP script that dumps your database in a
HTML page that you fetch via HTTP with your local python script and
then write a second one that stores it back to your DB. This is
necessary if you don't have a good web hoster.




More information about the Python-list mailing list