Aug-25-2019, 10:35 PM
both the python3 and python2 commands (at least in Ubuntu 18.04) takes (or ignores) an extra -c argument and only executes the first one. it should give an error message about the extras if it is wrong to use them.
Output:lt2a/forums /home/forums 13> python3 -c "print('foo')" -c "print('bar')"
foo
lt2a/forums /home/forums 14> python2 -c "print('foo')" -c "print('bar')"
foo
lt2a/forums /home/forums 15>
i was hoping it would be an easy way to give it another "line" of code to run.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.