On Wed, 11 Sep 2013 07:26:32 -0700, Wanderer wrote: > How do I send the command 'Alt+D' to subprocess.PIPE?
You don't. GUI programs don't read stdin, they receive key press events from the windowing system. -- https://mail.python.org/mailman/listinfo/python-list