You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/faq.html
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<detailsopen><summary><strong>Python 2 or Python 3?</strong></summary><br>
2
-
Python 3.7
2
+
Python 3.7 (or higher).
3
3
</details><br>
4
4
5
5
<detailsopen><summary><strong>What is the best way to use it?</strong></summary><br>
@@ -36,8 +36,16 @@
36
36
This way classes can be copy-pasted into the Python console, which would otherwise raise IndentationError.
37
37
</details><br>
38
38
39
-
<detailsopen><summary><strong>Why are import statements, virtual environments and tests not covered?</strong></summary><br>
40
-
Check out <ahref="https://docs.python-guide.org/">The Hitchhiker’s Guide to Python</a> for a nice overview of the mentioned topics.
39
+
<detailsopen><summary><strong>Why are virtual environments and tests not covered?</strong></summary><br>
40
+
Check out <ahref="https://docs.python-guide.org/">The Hitchhiker’s Guide to Python</a> for a nice overview of the mentioned topics.<br><br>
41
+
A quick overview of virtual environments in Unix:<br>
42
+
<code>python3 -m venv env # Creates virtual environment in current directory.</code><br>
<code>py -m venv env # Creates virtual environment in current directory.</code><br>
0 commit comments