# Launch windows application.
# Launch windows application with argument.# ... The window may be below the previous one.
Subprocess, 7-Zip. We can use external programs, like the 7-Zip compression software, to compress files. We invoke an external binary file.
Here We create a Windows command line that invokes the 7za.exe program. Please download 7za.exe from the 7-Zip website.
Info We use the subprocess module to call the executable. The subprocess.call method is an easy to way to invoke an external program.
Note The source string is used to build up the command line. This is the uncompressed file. You will need to change this.
Note 2 The target is another location on the disk. The compression version is written there.