Python File Input and Output

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 2

  • @andreashuaman2041
    @andreashuaman2041 4 роки тому +1

    hello, i have a question
    please help this makes me so mad
    how to use !head
    I've found this comand in Introduction to Scientic Computing in Python
    Robert Johansson
    April 16, 2016
    please help me

    • @apm
      @apm  4 роки тому

      The !head command requires that you are on a Posix system (Linux or MacOS) for the head command. The head command is a command-line utility for outputting the first part of files given to it via standard input. It writes results to standard output. By default head returns the first ten lines of each file that it is given. The exclamation mark lets you run command line / terminal statements within a Jupyter Notebook. If you aren't in a Jupyter Notebook or using Linux or MacOS then it won't work for you.