Skip to content

Commit 6fe5146

Browse files
petebachantmaxim-belkin
authored andcommitted
Setup: call winpty to access Python via Git Bash
Also, improve language in setup.md Closes #457 Signed-off-by: Maxim Belkin <[email protected]>
1 parent bc1c397 commit 6fe5146

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

setup.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ you should have already
2525
[installed Anaconda](http://swcarpentry.github.io/workshop-template/#python)
2626
which includes the notebook.
2727

28-
To start the notebook server, open a terminal or git bash and type the command:
28+
To start the notebook server, open a terminal or git bash and execute the command:
2929

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

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

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

4142
~~~
4243
$ python
4344
~~~
4445
{: .source}
4546

47+
Note: If using Git Bash on Windows, you have to call Python via `winpty`:
48+
49+
~~~
50+
$ winpty python
51+
~~~
52+
{: .source}
53+
4654
[zipfile1]: {{ page.root }}/data/python-novice-inflammation-data.zip
4755
[zipfile2]: {{ page.root }}/code/python-novice-inflammation-code.zip

0 commit comments

Comments
 (0)