jbn6972

Untitled

Oct 18th, 2022
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.92 KB | None | 0 0
  1. {
  2.     // Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
  3.     // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  4.     // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
  5.     // same ids are connected.
  6.     // Example:
  7.     "boilerplate": {
  8.         "prefix": "boilerplate code",
  9.         "body": [
  10.             "#Code Written by : John Nixon",
  11.             "#Date: $CURRENT_DATE:$CURRENT_MONTH:$CURRENT_YEAR  Time: $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND",
  12.             "#Copyrights are applicable",
  13.             "import sys",
  14.             "import os",
  15.             "sys.setrecursionlimit(10000)",
  16.             "try:",
  17.             "\tsys.stdin = open('./input.txt', 'r')",
  18.             "\tsys.stdout = open('./output.txt', 'w')",
  19.             "except:",
  20.             "\tpass",
  21.             "$1",
  22.         ],
  23.         "description": "Log output to console"
  24.     }
  25. }
Add Comment
Please, Sign In to add comment