Nico Grubert <nicogrubert at arcor.de> wrote: ... > What I need to do is calling "mysql -h myhost.com -p -u myusername < > dumpfile" directly from python. > How can I do this in python? import os os.system("mysql -h myhost.com -p -u myusername dumpfile") Alex