How to Run Python Scripts

There are two automation scripts: 1) automation.py: appends new mentors in samples/mentors.xslx to _data/mentor.yml

2) download_image.py: downloads image from a specified URL and saves in assets/images/mentors

Dependencies

python 3.11 or above

How to Execute on Mac

A) automation.py

sh run_automation.sh

Note:

B) download_image.py

Before running the script, make sure to update the IMAGE_URL and MENTOR_NAME parameters in the run_download_automation script with:

You can then run:

sh run_download_automation.sh

C) meetup_import.py

sh run_meetup_import.sh

Note:

How to Execute on Windows

1) Install python

2) Navigate to the project’s \tools directory:

```
cd tools
```

3) Execute the desired script with the same steps as in How to Execute on Mac.