I am trying to pass my variables from raw_input to my subprocess command. I am new to Python. Any help would he appreciated.
raw_input
#!/usr/bin/python
You can also use f-strings.
import subprocess site = 'google.com' subprocess.run(['nslookup', f'{site}'])