import paramiko
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.WarningPolicy())
client.connect('example.com',22,'XXXXX','XXXX')
a=input ("enter the file path")
stdin,stdout,stderr=client.exec_command('cd a && pwd')
I want to pass the variable 'a' to the exec_command .. I am trying to get the file path from the user and i am storing it in a variable a, i want to know how i can pass the variable a to the Cd command under exec_command function