Calling a C program from a Python Script

Brad Tilley bradtilley at
Thu Dec 9 19:01:30 CET 2004

Is it possible to write a file open, then read program in C and then 
call the C program from a Python script like this:

for root, files, dirs in os.walk(path)
     for f in files:

If possible, how much faster would this be over a pure Python solution?

Thank you,


More information about the Python-list mailing list