Created
August 5, 2024 12:30
-
-
Save keuv-grvl/f49f843c9fd81933aef9978e4d756e5a to your computer and use it in GitHub Desktop.
VSCode python snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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