Is it possible to nest more than two types of quotation signs? I mean I know '
and "
but what if i need more?
Is this allowed:
subprocess.Popen('echo "var1+'hello!'+var2"', shell=True)
Triple quotes work. You can use either '''
or """
subprocess.Popen('''echo "var1+'hello!'+var2"''', shell=True)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With