•  
      tasks #45430 Get number of characters, words, spaces and lines in a file
    #45430
    Mohini Singh (mohini)
    2022-08-16 23:53
    2022-08-16 23:53
    Details
    Get number of characters, words, spaces and lines in a file
    Using some built-in functions and OS module functions
    In this approach, the idea is to use the os.linesep() method of OS module to separate the lines on the current platform. When the interpreter’s scanner encounter os.linesep it replaces it with \n character. After that strip() and split() functions will be used to carry out the task.
    5 - Medium
    State of Progress
    2022-06-03
    100
    2022-06-05
    Mohini Singh (mohini)
    Rakesh Kumar Verma (rakesh.verma)
    2022-06-04
    Closed
    Attachments
    References
    References list is empty