I want to invoke a specific command shell in python to execute some scripts. For exemple, in R, I use:
system2(os_shell = "C:/Program Files (x86)/pgAdmin III/1.18/pg_dump.exe", args = "very long argument")
Thanks to this code, I can backup my Postgresql's tables with a for loop.
Problem: I didn't find an equivalent in Python.