Check client platform: Desktop or Mobile

hm, sorry @stucork , i cant get it to work, i get following error trying to import it:

from anvil.js.window import navigator

:arrow_right:

ModuleNotFoundError: No module named 'anvil.js.window'; 'anvil.js' is not a package

are there any prerequisites? i tried changing my python env but that didn’t do the trick… :see_no_evil: