Import error: no module named xbmc?

hey,

im trying to write a small python script and having issues with this error.

maybe ‘import xbmc’ is different for osmc??

thx for reading,
Dam0

The xbmc module is only available in the Kodi python environment. If you are running the script outside of Kodi (i.e. from the command line) then you will get that error.

hehe, noob error.

thx

Dam0