Skip to content

Commit a201221

Browse files
authored
Merge pull request carpentries-incubator#9 from josenino95/main
upload slides and update setup with resources
2 parents fea897e + 5646252 commit a201221

3 files changed

Lines changed: 4546 additions & 3 deletions

File tree

128 KB
Binary file not shown.

learners/setup.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,29 @@ Steps:
2020
2. If you are using Mac or Linux, open the 'Terminal'. If you are using Windows, open the 'Command Prompt' or 'Miniforge Prompt'.
2121
3. Activate the base conda environment by typing and running the code below to activate your environment.
2222

23-
```markdown
23+
```terminal
2424
conda activate
2525
```
2626

2727
4. Install the necessary packages by running:
28-
```markdown
29-
pip install 'requests' 'beautifulsoup4' 'selenium' 'webdriver-manager' 'pandas' 'tqdm' 'jupyterlab'
28+
```terminal
29+
pip install requests beautifulsoup4 selenium webdriver-manager pandas tqdm jupyterlab
3030
```
3131

32+
5. Start Jupyter Lab by running:
33+
```terminal
34+
jupyter lab
35+
```
36+
37+
6. In a new Jupyter Notebook run the following code in a cell to check the necessary libraries can be loaded:
38+
```python
39+
from bs4 import BeautifulSoup
40+
import requests
41+
from selenium import webdriver
42+
from selenium.webdriver.common.by import By
43+
import pandas as pd
44+
```
3245

46+
## Additional resources
47+
- Mitchell, R. (Ryan E. ). (2024). Web scraping with Python : data extraction from the modern web (3rd edition.). O’Reilly Media, Inc.
48+
- Chapagain, A. (2023). Hands-On Web Scraping with Python : Extract Quality Data from the Web Using Effective Python Techniques (Second edition.). Packt Publishing.

0 commit comments

Comments
 (0)