#!/usr/bin/python import sys, subprocess ctid = raw_input() subprocess.call('clear') subprocess.call(['sudo', 'vzctl', 'enter', ctid])