Hello Mike,

Thanks for responding. I need to pass multiple filenames to an
executable. The filenames are similar to one another, but differ only
slightly, hence the use of the wildcard. The executable works well from
the command line if I pass in a wildcard filename, but Popen can't
expand the wildcard.

>From command line:
% command /path_to_files/filename*.doc

With Popen:
var1="/path_to_files/filnames*.doc"
result=Popen(["command",var1]).wait()

Thanks, I will look into the os.system route.

Bill

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to