Browse Source

Basic script template

pull/86/head
Jure Šorn 3 years ago
parent
commit
00a11253b2
2 changed files with 4 additions and 4 deletions
  1. 4
      README.md
  2. 4
      index.html

4
README.md

@ -3487,10 +3487,10 @@ $ pyinstaller script.py --add-data '<path>:.' # Adds file to the root of the ex
#
from sys import argv, exit
from collections import namedtuple
from collections import Counter, defaultdict, namedtuple
from dataclasses import make_dataclass
from enum import Enum
import re
import functools, itertools, operator as op, re
def main():

4
index.html

@ -2960,10 +2960,10 @@ $ pyinstaller script.py --add-data '&lt;path&gt;:.' <span class="hljs-comment">
<span class="hljs-comment">#</span>
<span class="hljs-keyword">from</span> sys <span class="hljs-keyword">import</span> argv, exit
<span class="hljs-keyword">from</span> collections <span class="hljs-keyword">import</span> namedtuple
<span class="hljs-keyword">from</span> collections <span class="hljs-keyword">import</span> Counter, defaultdict, namedtuple
<span class="hljs-keyword">from</span> dataclasses <span class="hljs-keyword">import</span> make_dataclass
<span class="hljs-keyword">from</span> enum <span class="hljs-keyword">import</span> Enum
<span class="hljs-keyword">import</span> re
<span class="hljs-keyword">import</span> functools, itertools, operator <span class="hljs-keyword">as</span> op, re
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">main</span><span class="hljs-params">()</span>:</span>

Loading…
Cancel
Save