Skip to content

Commit 00a1125

Browse files
committed
Basic script template
1 parent 94f50b3 commit 00a1125

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3487,10 +3487,10 @@ $ pyinstaller script.py --add-data '<path>:.' # Adds file to the root of the ex
34873487
#
34883488

34893489
from sys import argv, exit
3490-
from collections import namedtuple
3490+
from collections import Counter, defaultdict, namedtuple
34913491
from dataclasses import make_dataclass
34923492
from enum import Enum
3493-
import re
3493+
import functools, itertools, operator as op, re
34943494

34953495

34963496
def main():

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,10 +2960,10 @@
29602960
<span class="hljs-comment">#</span>
29612961

29622962
<span class="hljs-keyword">from</span> sys <span class="hljs-keyword">import</span> argv, exit
2963-
<span class="hljs-keyword">from</span> collections <span class="hljs-keyword">import</span> namedtuple
2963+
<span class="hljs-keyword">from</span> collections <span class="hljs-keyword">import</span> Counter, defaultdict, namedtuple
29642964
<span class="hljs-keyword">from</span> dataclasses <span class="hljs-keyword">import</span> make_dataclass
29652965
<span class="hljs-keyword">from</span> enum <span class="hljs-keyword">import</span> Enum
2966-
<span class="hljs-keyword">import</span> re
2966+
<span class="hljs-keyword">import</span> functools, itertools, operator <span class="hljs-keyword">as</span> op, re
29672967

29682968

29692969
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">main</span><span class="hljs-params">()</span>:</span>

0 commit comments

Comments
 (0)