Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 53eec9a

Browse filesBrowse files
committed
misc
1 parent 219bc69 commit 53eec9a
Copy full SHA for 53eec9a

File tree

Expand file treeCollapse file tree

1 file changed

+48
-7
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+48
-7
lines changed
Open diff view settings
Collapse file

‎lectures/getting_started.md‎

Copy file name to clipboardExpand all lines: lectures/getting_started.md
+48-7Lines changed: 48 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ kernelspec:
3030
</style>
3131

3232

33-
# Setting up Your Python Environment
33+
# Getting Started
3434

3535
```{index} single: Python
3636
```
@@ -43,12 +43,53 @@ kernelspec:
4343

4444
In this lecture, you will learn how to
4545

46-
1. get a Python environment up and running
46+
1. use Python in the cloud
47+
1. get a local Python environment up and running
4748
1. execute simple Python commands
4849
1. run a sample program
4950
1. install the code libraries that underpin these lectures
5051

51-
## Anaconda
52+
## Python in the Cloud
53+
54+
The easiest way to get started coding in Python is by running it in the cloud.
55+
56+
(That is, by using a remote server that already has Python installed.)
57+
58+
There are many options for doing this, both free and paid.
59+
60+
At present [Google Colab](https://colab.research.google.com/) seems to be the
61+
most reliable.
62+
63+
Colab offers a free tier and also has the advantage of providing GPUs.
64+
65+
The free-tier GPUs are adequate and better ones can be accessed by signing up
66+
for Colab Pro.
67+
68+
Tutorials on how to get started with Google Colab can be found by searching.
69+
70+
Written examples include
71+
72+
* [Google Colab Tutorial for Beginners](https://pub.towardsai.net/google-colab-tutorial-for-beginners-834595494d44)
73+
* [Intro to Google
74+
Colab](https://levelup.gitconnected.com/google-colab-what-is-it-how-to-use-it-and-why-should-i-care-721bb8a88c90)
75+
76+
Videos on the same topic can be found by searching on Youtube.
77+
78+
Most of our lectures include a "Launch notebook" (play icon) button on the top
79+
right that allows you to easily run them in Colab.
80+
81+
82+
## Local Install
83+
84+
Local installs are preferable if you have access to a suitable machine and
85+
plan to do a substantial amount of Python programming.
86+
87+
At the same time, local installs require more work than a cloud option like Colab.
88+
89+
The rest of this lecture runs you through the details.
90+
91+
92+
### The Anaconda Distribution
5293

5394
The [core Python package](https://www.python.org/downloads/) is easy to install but *not* what you should choose for these lectures.
5495

@@ -69,7 +110,7 @@ Anaconda is
69110
* very popular
70111
* cross-platform
71112
* comprehensive
72-
* completely unrelated to the Nicki Minaj song of the same name
113+
* completely unrelated to the [Nicki Minaj song of the same name](https://www.youtube.com/watch?v=LDZX4ooRsWs)
73114

74115
Anaconda also comes with a great package management system to organize your code libraries.
75116

@@ -91,9 +132,9 @@ Important points:
91132

92133
### Updating Anaconda
93134

94-
Anaconda supplies a tool called conda to manage and upgrade your Anaconda packages.
135+
Anaconda supplies a tool called `conda` to manage and upgrade your Anaconda packages.
95136

96-
One conda command you should execute regularly is the one that updates the whole Anaconda distribution.
137+
One `conda` command you should execute regularly is the one that updates the whole Anaconda distribution.
97138

98139
As a practice run, please execute the following
99140

@@ -574,4 +615,4 @@ For reading on these and other topics, try
574615
* One of the thousands of Git tutorials on the Net.
575616

576617
```{exercise-end}
577-
```
618+
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.