How to Access Unix Shell

Neale nhirsh2 at ieee.org
Sun Jun 13 20:48:03 EDT 2004


In a python program, I want to do a Unix directory list and then
append selected files to each other which, as you know, is just  "cat
filename2 >> filename1." How do I escape into the shell and then
return, bringing with me a  directory list?

Where can I find some examples of mixing shell commands and Python?



More information about the Python-list mailing list