how to extract json from public folder react code example
Example 1: python get file extension from path
import os.path
extension = os.path.splitext(filename)[1]
Example 2: how to add image in html from a folder
|-> myhtmlfiles
|-> index.html
|-> images
|-> my_image.jpg
<img src="../images/my_image.jpg">