Skip to content

Instantly share code, notes, and snippets.

@keuv-grvl
Created August 5, 2024 12:30
Show Gist options
  • Save keuv-grvl/f49f843c9fd81933aef9978e4d756e5a to your computer and use it in GitHub Desktop.
Save keuv-grvl/f49f843c9fd81933aef9978e4d756e5a to your computer and use it in GitHub Desktop.
VSCode python snippets
{
"if __name__ == \"__main__\":": {
"body": [
"if __name__ == \"__main__\":\n\t$0"
],
"prefix": [
"__name__",
"__main__",
]
},
"matplotlib": {
"body": "import matplotlib.pyplot as plt\n$0",
"prefix": [
"plt",
"pyplot",
"matplotlib"
]
},
"numpy": {
"body": "import numpy as np\n$0",
"prefix": [
"np",
"numpy"
]
},
"torch": {
"body": "import torch\n$0",
"prefix": [
"torch",
]
},
"tqdm": {
"body": "from tqdm import tqdm\n$0",
"prefix": [
"tqdm",
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment