def getTitle(): for arg in sys.argv: projName = sys.argv[1] print projName OUTPUT: test test