python backup script

Enrico 'Henryx' Bianchi henryx_b at yahoo.it
Tue May 7 15:11:22 EDT 2013


John Gordon wrote:


> Looks like you need a comma after 'stdout=filename'.

Sigh, yesterday was a terrible day (yes, it lacks a comma)...
Anyway, when it is possible, is recommended to use the drivers for 
communicate with databases, because subprocess (or os.*open*) is more 
expensive compared to (python needs to spawn an external process to execute 
the command)

Enrico



More information about the Python-list mailing list