How do I distinguish a string from a sequence?

Skip Montanaro skip at pobox.com
Fri Sep 28 16:02:17 EDT 2001


    Paul> "Ability to be passed to popen2()" is what I'm after (at least in
    Paul> the initial version, later I might use fork/exec or low-level
    Paul> Win32 calls) and that isn't testable for...

Why not simply call popen2() with your argument and if it squawks, do
something about it?

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list