#! /usr/bin/env python3
# coding: utf-8

from os import path

def launch_analysis(data_file):
    directory = path.dirname(path.dirname(__file__))
    path_to_file = path.join(directory, "data", data_file)
    
    with open(path_to_file, "r") as f:
        preview = f.readline()

    print("Check the preview : {}".format(preview))

if __name__ == "__main__":
    launch_analysis("current_mps.csv")

#! /usr/bin/env python3
# coding: utf-8

from os import path

def launch_analysis(data_file):
    directory = path.dirname(path.dirname(__file__))
    path_to_file = path.join(directory, "data", data_file)
    
    with open(path_to_file, "r") as f:
        preview = f.readline()

    print("Check the preview : {}".format(preview))

if __name__ == "__main__":
    launch_analysis("current_mps.csv")

#! /usr/bin/env python3 # coding: utf-8