Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.md: link to Git Bash #475

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _episodes/01-numpy.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ the graphs will actually be squeezed together more closely.)
{: .callout}
> ## Check Your Understanding
>
> Draw diagrams showing what variables refer to what values after each statement in the following program:
> What values do the variables `mass` and `age` have after each statement in the following program?
> Test your answers by executing the commands.
>
> ~~~
> mass = 47.5
Expand Down
12 changes: 10 additions & 2 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ you should have already
[installed Anaconda](http://swcarpentry.github.io/workshop-template/#python)
which includes the notebook.

To start the notebook server, open a terminal or git bash and type the command:
To start the notebook server, open a terminal or git bash and execute the command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a link to Git Bash here


~~~
$ jupyter notebook
Expand All @@ -36,12 +36,20 @@ Then create a new notebook using the drop-down menu on the right to select 'Pyth

![](../fig/new-notebook.png)

To start the Python interpreter without the notebook, open a terminal or git bash and type the command:
To start the Python interpreter without the notebook, open a terminal
or command prompt and execute the command:

~~~
$ python
~~~
{: .source}

Note: If using [Git Bash](https://gitforwindows.org) on Windows, you have to call Python via `winpty`:

~~~
$ winpty python
~~~
{: .source}

[zipfile1]: {{ page.root }}/data/python-novice-inflammation-data.zip
[zipfile2]: {{ page.root }}/code/python-novice-inflammation-code.zip