#!/usr/bin/env python # -*- coding: latin-1 -*- # -*- version: 3.0 -*- # FILE : argtest # CONTENT : test program for command line parsing of quoted arguments # USEAGE : call with any command line - to repoduce bug try # ./argtest arg1 arg2 "this should be a single argument" # COMMENTS: also observed with versions 2.5 and 3.1 import sys print(sys.version); print(sys.argv[:]);