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: frontend/mdx/posts/python-earth-science-intro.mdx
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,7 @@ Instead, I want to encourage all new developers to simply start with [installing
27
27
28
28
In addition to installing Python, we also need a way to write Python code. Fortunately, it's even easier to write Python code than it is to write in a Word document! Python code is, ultimately, just plain text, so anything you can write plain text in can also write Python. This includes NotePad, which comes pre-installed on most Windows devices.
29
29
30
-
However, there's advantages to having a slightly more sophisticated editor setup. In the interest of providing a path of least resistance, I recommend downloading [VSCode]
31
-
(https://code.visualstudio.com/)<TooltipPopovernumber="4">There's lots of strong opinions about editors. If you prefer a different one, please use it!</TooltipPopover>, which is a much fancier text editor with plugins that support lots of different programming languages. Don't get too overwhelmed by the options to start, though. Just download it and open any directory and you'll be ready to start writing code!
30
+
However, there's advantages to having a slightly more sophisticated editor setup. In the interest of providing a path of least resistance, I recommend downloading [VSCode](https://code.visualstudio.com/)<TooltipPopovernumber="4">There's lots of strong opinions about editors. If you prefer a different one, please use it!</TooltipPopover>, which is a much fancier text editor with plugins that support lots of different programming languages. Don't get too overwhelmed by the options to start, though. Just download it and open any directory and you'll be ready to start writing code!
32
31
33
32
## Hello World!
34
33
@@ -40,7 +39,7 @@ mkdir hello_world
40
39
cd hello_world
41
40
```
42
41
43
-
Here we have <ins>c</ins>hanged to your "home" <ins>d</ins>irectory by using a bare `cd`, then we <ins>m</ins>a<ins>k</ins>e a new directory with `mkdir hello_world` and again <ins>c</ins>hange <ins>d</ins>irectory to it with `cd hello_world`. Now we initialize a new project by running:
42
+
Here we have <ins>c</ins>hanged to your "home" <ins>d</ins>irectory by using a bare `cd`, then we <ins>m</ins>a<ins>k</ins>e a new <ins>dir</ins>ectory with `mkdir hello_world` and again <ins>c</ins>hange <ins>d</ins>irectory to it with `cd hello_world`. Now we initialize a new project by running:
The first two lines indicate that uv has taken care of finding a Python installation, setting up, and activating a virtual environment for us -- all stuff that we would have had to take care of manually back in the days of only conda and pip. Congratulations on your first Python program!
68
+
The first two lines indicate that uv has taken care of finding a Python installation, setting up, and activating a virtual environment for us — all stuff that we would have had to take care of manually back in the days of only conda and pip. Congratulations on your first Python program!
0 commit comments