Is it possible to get run multiple commands in Python from command line in Windows?
Here's what I tried on command line in Windows.
python -c print(4)\nprint(5)
The error I received was the following:
SyntaxError: unexpected character after line continuation character
Is what I wrote above even possible to do?
Can I run multiple statements such as the following:
python -c a=5\nb=3\nprint(a+b)
And if so, how?