Skip to content

Instantly share code, notes, and snippets.

@hselbie
hselbie / gzrparse.py
Last active December 1, 2021 18:55
Python to iterate through GZR response from csv input and download to specific folder for LDeploy upload
import pandas as pd
import subprocess
from pathlib import Path
import configparser
import os
import time
def clean_filepath(x: str) -> str:
cleaned = x.replace(' ', '').replace('&', '').lower()