@16KYJ said in Magic mirror using hdf5:

os.getcwd()

it returns the current working directory… (result of cd)

you would have to modify the script to find where IT is located

see https://stackoverflow.com/questions/595305/how-do-i-get-the-path-of-the-python-script-i-am-running-in