I’m sure this will be a silly question, but I am only thirty minutes in to trying to use Python and need some help.
I’ve found a Python script that takes the date and time data from the images taken by a trail camera. It uses them to create an Excel folder from which you can then create a chart to show which days and at what times the most frequent visits to the camera are.
However, I don’t know where or in what format to put the file path to the folder containing the images or the xml file
Here is the first part of the script
-
import os
-
from datetime import datetime
-
import openpyxl
-
from PIL import Image
- xlsx_filename = ‘/your/path/to/file/squirrels.xlsx’
The part I’ve put in bold in line five is the first hurdle I can’t get over. I suspect the problem may be that I’m using Python Online, rather than having the program on my laptop. (My laptop is quite old and so Python won’t download as it says my processor isn’t up to it)
Any help gratefully received.
Thanks for reading.