Submitting through python