Skip to content

Commit 2c46837

Browse files
committed
Appendix
1 parent a59e637 commit 2c46837

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3455,8 +3455,10 @@ cdef enum <enum_name>: <member_name_1>, <member_name_2>, ...
34553455
```
34563456

34573457

3458-
PyInstaller
3459-
-----------
3458+
Appendix
3459+
--------
3460+
3461+
### PyInstaller
34603462
```bash
34613463
$ pip3 install pyinstaller
34623464
$ pyinstaller script.py # Compiles into './dist/script' directory.
@@ -3466,9 +3468,7 @@ $ pyinstaller script.py --add-data '<path>:.' # Adds file to the root of the ex
34663468
```
34673469
* **Paths of files have to be changed to `'os.path.join(sys._MEIPASS, "<path>")'`.**
34683470

3469-
3470-
Basic Script Template
3471-
---------------------
3471+
### Basic Script Template
34723472
```python
34733473
#!/usr/bin/env python3
34743474
#

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,17 +2930,18 @@
29302930
</code></pre>
29312931
<pre><code class="python language-python hljs">cdef enum &lt;enum_name&gt;: &lt;member_name_1&gt;, &lt;member_name_2&gt;, ...
29322932
</code></pre>
2933-
<div><h2 id="pyinstaller"><a href="#pyinstaller" name="pyinstaller">#</a>PyInstaller</h2><pre><code class="bash language-bash hljs">$ pip3 install pyinstaller
2933+
<div><h2 id="appendix"><a href="#appendix" name="appendix">#</a>Appendix</h2><div><h3 id="pyinstaller">PyInstaller</h3><pre><code class="bash language-bash hljs">$ pip3 install pyinstaller
29342934
$ pyinstaller script.py <span class="hljs-comment"># Compiles into './dist/script' directory.</span>
29352935
$ pyinstaller script.py --onefile <span class="hljs-comment"># Compiles into './dist/script' console app.</span>
29362936
$ pyinstaller script.py --windowed <span class="hljs-comment"># Compiles into './dist/script' windowed app.</span>
29372937
$ pyinstaller script.py --add-data <span class="hljs-string">'&lt;path&gt;:.'</span> <span class="hljs-comment"># Adds file to the root of the executable.</span>
2938-
</code></pre></div>
2938+
</code></pre></div></div>
2939+
29392940

29402941
<ul>
29412942
<li><strong>Paths of files have to be changed to <code class="python hljs"><span class="hljs-string">'os.path.join(sys._MEIPASS, "&lt;path&gt;")'</span></code>.</strong></li>
29422943
</ul>
2943-
<div><h2 id="basicscripttemplate"><a href="#basicscripttemplate" name="basicscripttemplate">#</a>Basic Script Template</h2><pre><code class="python language-python hljs"><span class="hljs-comment">#!/usr/bin/env python3</span>
2944+
<div><h3 id="basicscripttemplate">Basic Script Template</h3><pre><code class="python language-python hljs"><span class="hljs-comment">#!/usr/bin/env python3</span>
29442945
<span class="hljs-comment">#</span>
29452946
<span class="hljs-comment"># Usage: .py</span>
29462947
<span class="hljs-comment">#</span>

0 commit comments

Comments
 (0)