Imagem de fundo

The following are rewritten phrases from the text. Which...

Para responder às questões 26 a 30, leia o texto abaixo.


2. Using the Python Interpreter


  1. 2.1. lnvoking the lnterpreter
  2. The Python interpreter is usually installed as
  3. /usr/local/bin/python3.12 on those machines where
  4. it is available; putting /usr/local/bin in your Unix
  5. shell's search path makes it possible to start it by
  6. typing the command: python3.12 to the shell.

  7. Since the choice of the directory where the
  8. interpreter lives is an installation option, other
  9. places are possible; check with your local Python
  10. guru or system administrator. (E.9.,
  11. /usr/local/python is a popular alternative location.)

  12. On Windows machines where you have installed
  13. Python from the Microsoft Store, the python3.12
  14. command will be available. lf you have the py.exe
  15. launcher installed, you can use the py command.
  16. See Excursus: Setting environment variables for
  17. other ways to launch Python.

  18. Typing an end-of-file character (Control-D on Unix,
  19. Control-Z on Windows) at the primary prompt
  20. causes the interpreter to exit with a zero exit status.
  21. lf that doesn't work, you can exit the interpreter by
  22. typing the following command: quit0.

  23. The interpreter's line-editing features include
  24. interactive editing, history substitution and code
  25. completion on systems that support the GNU
  26. Readline library. Perhaps the quickest check to see
  27. whether command line editing is supported is typing
  28. Control-P to the first Python prompt you get. lf it
  29. beeps, you have command line editing; see
  30. Appendix lnteractive lnput Editing and History
  31. Substitution for an introduction to the keys. lf
  32. nothing appears to happen, or if ^P is echoed,
  33. command line editing isn't available; you'll only be
  34. able to use backspace to remove characters from
  35. the current line.


Fonte: https://docs. python.org/3/tutorial/interpreter.html#argument-passlng

The following are rewritten phrases from the text. Which one doesn't contain any grammar ou meaning mistakes? Mark the CORRECT alternative.


A

You can only use backspace to delete characters from the current line.


B

The python3.12 command will be available on Windows machines where you have installed it írom the Linux Store.


C

The Python interpreter is usually installed as /usr/local/bin/python3.2 1 .


D

ln the Appendix lnteractive lnput Editing and History Substitution you will find an introduction to the software.


E

Perhaps the best way to see whether command line editing are suppc,rted is typing Control-P to the first Python prompt you get.