Skip to content

Commit 2bc1cbf

Browse files
committed
new stub page for shells
1 parent 27655b3 commit 2bc1cbf

File tree

7 files changed

+56
-10
lines changed

7 files changed

+56
-10
lines changed

content/pages/02-development-environments/04-emacs.markdown

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ meta: Emacs is an extensible, customizable text editor often used for coding. Re
88

99

1010
# Emacs
11-
Emacs is an extensible text editor that can be customized by writing Lisp
12-
code.
11+
[Emacs](https://www.gnu.org/software/emacs/) is an extensible text editor
12+
that can be customized by writing Lisp code.
13+
14+
<a href="https://www.gnu.org/software/emacs/" style="border:none"><img src="/img/logos/emacs-wide.png" width="100%" alt="Emacs community logo." class="technical-diagram"></a>
1315

1416

1517
## Why is Emacs a good choice for Python coding?
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
title: Shells
2+
category: page
3+
slug: shells
4+
sortorder: 0207
5+
toc: False
6+
sidebartitle: Shells
7+
meta: A shell is a computer user interface and often refers to a text-only or primarily text command line terminal.
8+
9+
10+
# Shells
11+
Shells are computer user interfaces that typically refer to a text-only or
12+
primarily text-based command prompt.
13+
14+
<img src="/img/visuals/terminal-shell.png" width="100%" alt="My macOS terminal window showing the bash shell with an active virtualenv." class="technical-diagram" style="border-radius:5px;border:1px solid #999">
15+
16+
The above screenshot shows the bash shell with an active Python virtual
17+
environment named `fullstackpython` within the macOS Terminal application.
18+
19+
20+
### Shell resources
21+
* [cmd](https://docs.python.org/3/library/cmd.html) is the Pythonic
22+
standard library module that can be used for building your own shells.
23+
The [Python CmdModule wiki page](https://wiki.python.org/moin/CmdModule)
24+
has a great overview of the module and its capabilities.
25+
26+
* [Give your Python program a shell with the cmd module](https://coderwall.com/p/w78iva/give-your-python-program-a-shell-with-the-cmd-module)
27+
shows a short code example of how to use cmd to build a simple shell.
28+
29+
* [Super Charge Your Shell For Python Development](http://avilpage.com/2017/03/super-charge-your-shell-for-python-development.html)
30+
covers aliases, environment variables via
31+
[Autoenv](https://github.com/kennethreitz/autoenv) and some basic
32+
shell commands often used during development.
33+

static/img/logos/emacs-wide.png

44.8 KB
Loading

static/img/logos/emacs.png

39.8 KB
Loading
11.7 KB
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<h3>What do you want to learn about Python development?</h3>
2+
<div class="row">
3+
<div class="col-md-4">
4+
<div class="well select-next">
5+
{% include "choices/buttons/development-environments.html" %}
6+
</div>
7+
</div>
8+
<div class="col-md-4">
9+
<div class="well select-next">
10+
{% include "choices/buttons/deployment.html" %}
11+
</div>
12+
</div>
13+
<div class="col-md-4">
14+
<div class="well select-next">
15+
{% include "choices/buttons/databases.html" %}
16+
</div>
17+
</div>
18+
</div>

theme/templates/table-of-contents.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h4 class="toc-subsection">2.1 <a href="/text-editors-ides.html">Text Editors an
4242
<div class="toc"><a href="/sublime-text.html">Sublime Text</a></div>
4343
<div class="toc"><a href="/jupyter-notebook.html">Jupyter Notebook</a></div>
4444

45-
<h4 class="toc-subsection">2.2 <span class="soon">Shells</span></h4>
45+
<h4 class="toc-subsection">2.2 <a href="/shells.html">Shells</a></h4>
4646
<div class="toc soon">Bash</div>
4747
<div class="toc soon">zsh</div>
4848
<div class="toc soon">PowerShell</div>
@@ -54,13 +54,6 @@ <h4 class="toc-subsection">2.3 <span class="soon">Environment configuration</spa
5454
<div class="toc soon">Environment variables</div>
5555
<div class="toc soon">Localhost tunnels</div>
5656

57-
<!--
58-
<div class="toc"><a href="/dependency-isolation.html">Dependency isolation</a></div>
59-
<div class="toc"><a href="/virtual-environments-virtualenvs.html">virtual environments (virtualenv)</a></div>
60-
<div class="toc"><a href="/environment-variables.html">Environment variables</a></div>
61-
<div class="toc"><a href="/localhost-tunnels.html">Localhost tunnels</a></div>
62-
-->
63-
6457
<h4 class="toc-subsection">2.4 <a href="/source-control.html">Source Control</a></h4>
6558
<div class="toc"><a href="/git.html">Git</a></div>
6659
<div class="toc"><a href="/mercurial.html">Mercurial</a></div>

0 commit comments

Comments
 (0)