Closed coatk1 closed 3 years ago
# Standard Libraries import os import csv import glob import pathlib # import getpass # Third-party Libraries import pandas # import ijson HOME_DRIVE = str(pathlib.Path.home()) OTHER_DRIVE = "C:\\" # some_path = "path\\to\\file # path = os.path.join(HOME_DRIVE, some_path) # wp = getpass.getpass("Enter: ") # full_path = glob.glob("{}\\*.{}".format(path, "csv")) # pd.concat([pd.read_csv(_) for _ in full_path]) # Read/ Write Files # Read in a file with open(file, "r") as f: