{ "shebang": { "prefix": "shebang", "body": [ "#!/usr/bin/env python3", "$1" ] }, "main function": { "prefix": "main", "body": [ "if __name__ == \"__main__\":", " $1" ] }, "pathlib import": { "prefix": "pathlib", "body": [ "from pathlib import Path", "$1" ] }, "numpy import": { "prefix": "numpy", "body": [ "import numpy as np", "$1" ] }, "matplotlib import": { "prefix": "matplotlib", "body": [ "import matplotlib.pyplot as plt", "$1" ] }, "pandas import": { "prefix": "pandas", "body": [ "import pandas as pd", "$1" ] }, "parent working directory": { "prefix": [ "here", "pwd" ], "body": [ "pwd = Path(__file__).resolve().parent", "$1" ], "description": "show PWD" }, "print debug": { "prefix": "debug", "body": [ "print(f\"{$1=}\")" ], "description": "print debug snippet" } }