You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/python_by_example.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The objective is to introduce you to basic Python syntax and data structures.
25
25
26
26
Deeper concepts will be covered in later lectures.
27
27
28
-
You should have read the {doc}`lecture <getting_started>` on getting started with Python before beginning this one.
28
+
You should have read the [lecture](getting_started.md) on getting started with Python before beginning this one.
29
29
30
30
31
31
## The Task: Plotting a White Noise Process
@@ -67,7 +67,7 @@ Let's break this program down and see how it works.
67
67
The first two lines of the program import functionality from external code
68
68
libraries.
69
69
70
-
The first line imports {doc}`NumPy <numpy>`, a favorite Python package for tasks like
70
+
The first line imports [NumPy](numpy.md), a favorite Python package for tasks like
71
71
72
72
* working with arrays (vectors and matrices)
73
73
* common mathematical functions like `cos` and `sqrt`
@@ -250,7 +250,7 @@ x
250
250
251
251
Here `append()` is what's called a **method**, which is a function "attached to" an object---in this case, the list `x`.
252
252
253
-
We'll learn all about methods {doc}`later on <oop_intro>`, but just to give you some idea,
253
+
We'll learn all about methods [later on](oop_intro.md), but just to give you some idea,
254
254
255
255
* Python objects such as lists, strings, etc. all have methods that are used to manipulate data contained in the object.
256
256
* String objects have [string methods](https://docs.python.org/3/library/stdtypes.html#string-methods), list objects have [list methods](https://docs.python.org/3/tutorial/datastructures.html#more-on-lists), etc.
0 commit comments