We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb855b commit 7783539Copy full SHA for 7783539
make-html.py
@@ -1,3 +1,6 @@
1
+#!/usr/bin/env python3
2
+"""Create HTML files of the tutorial."""
3
+
4
import glob
5
import shutil
6
import os
@@ -7,8 +10,10 @@
7
10
try:
8
11
import mistune
9
12
except ImportError:
- print("mistune isn't installed. You can install it like this:\n\n",
- " thispython -m pip install mistune", file=sys.stderr)
13
+ print("mistune isn't installed. You can install it like this:")
14
+ print()
15
+ print(">>> import pip")
16
+ print(">>> pip.main(['install', '--user', 'mistune'])")
17
sys.exit(1)
18
19
0 commit comments