Bitmovin Challenge for Interns

File Download & Analysis

The goal of this assignment is to implement a program that downloads a specific file via HTTP to the local disk and performs some analysis on it.

Tasks

  1. Download the file provided at the link [1] and store it in a local file on disk.
  2. Read the file line by line and print each line with the prefix: "Line#: ", where # is the line number.
  3. Count the occurrence of every single character and print a summary at the end.
  4. Print the summary sorted by occurrence in descending order.

The program can be written in either Python or Java.

[1] https://www.w3.org/TR/2003/REC-PNG-20031110/iso_8859-1.txt

!Program must be run in the main.py file!

!Output results for both tasks can be found in Output directory!