import img code example
Example 1: html img src
<img href="https://website.com/image.jpg">
<!-- for an image online -->
<img src=C:\your_files>
<!-- for a local file -->
Example 2: import Image
pip install pillow
from PIL import Image, ImageDraw