def gen_script(dmr_id, passphrase): script = ''' DMR ID: ''' + str(dmr_id) + ''' \n Passphrase: ''' + str(passphrase) + ''' ''' return script