Skip to content

Commit f577fa6

Browse files
committed
Minor tweaks - remove CS 41 link and command line consistency
1 parent f285a83 commit f577fa6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

installing-python-macos.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hello!
44

5-
This document provides a walkthrough to set up a Python development environment for [CS41](https://stanfordpython.com) on macOS. Alternate versions of this guide exist for [Linux](https://github.com/stanfordpython/python-handouts/blob/master/installing-python-linux.md) and [Windows](https://github.com/stanfordpython/python-handouts/blob/master/installing-python-windows.md) development.
5+
This document provides a walkthrough to set up a Python development environment for CS 41 on macOS. Alternate versions of this guide exist for [Linux](https://github.com/stanfordpython/python-handouts/blob/master/installing-python-linux.md) and [Windows](https://github.com/stanfordpython/python-handouts/blob/master/installing-python-windows.md) development.
66

77
## Overview
88

@@ -119,7 +119,7 @@ coopermj$ source ~/cs41-env/bin/activate
119119

120120
*Note: If your shell is `tcsh` or `csh`, you will have to run `source ~/cs41-env/bin/activate.csh` instead. If your shell is `fish`, you will have to run `. ~/cs41-env/bin/activate.fish` instead.*
121121

122-
Observe that our command prompt, which previously was `psarin$`, now is `(cs41-env) psarin$`. This is one method by which you can see whether a virtual environment is activated.
122+
Observe that our command prompt, which previously was `coopermj$`, now is `(cs41-env) coopermj$`. This is one method by which you can see whether a virtual environment is activated.
123123

124124
### Deactivating a virtual environment
125125

@@ -218,9 +218,9 @@ Importantly, you should now have access to `ipython`, an interactive Python inte
218218

219219
```
220220
(cs41-env)$ ipython
221-
Python 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27)
221+
Python 3.9.2 (v3.9.2:1a79785e3e, Feb 19 2021, 09:06:10)
222222
Type 'copyright', 'credits' or 'license' for more information
223-
IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.
223+
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.
224224
225225
In [1]:
226226
```
@@ -260,9 +260,9 @@ In this course, we always assume that you are operating in an active virtual env
260260
If you want to automatically enable the `cs41-env` virtual environment every time you start a new interactive session, you can add a command to your shell's startup script. In most cases, this will be `~/.bash_profile` or `~/.bashrc`, which are different but in ways that are not important to us right now. Run:
261261

262262
```
263-
psarin$ echo "# Activate virtual environment for CS41." >> ~/.bash_profile
264-
psarin$ echo "source ~/cs41-env/bin/activate" >> ~/.bash_profile
265-
psarin$ tail -n 2 ~/.bash_profile
263+
coopermj$ echo "# Activate virtual environment for CS41." >> ~/.bash_profile
264+
coopermj$ echo "source ~/cs41-env/bin/activate" >> ~/.bash_profile
265+
coopermj$ tail -n 2 ~/.bash_profile
266266
# Activate virtual environment for CS41.
267267
source ~/cs41-env/bin/activate
268268
```

0 commit comments

Comments
 (0)