[octopus@pc3 ~]$ python Python 2.7.10 (default, Jul 5 2015, 14:15:43) [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help Type help() for interactive help, or help(object) for help about object. >>> echo 8 File "<stdin>", line 1 echo 8 ^ SyntaxError: invalid syntax >>> if 1 + 1 == 2: ... end File "<stdin>", line 2 end ^ IndentationError: expected an indented block >>> exit Use exit() or Ctrl-D (i.e. EOF) to exit >>> exit() [octopus@pc3 ~]$ gcc gcc: fatal error: no input files compilation terminated. [octopus@pc3 ~]$ g++ g++: fatal error: no input files compilation terminated. [octopus@pc3 ~]$
|