efl.emotion Module

Module level functions

exception efl.emotion.EmotionModuleInitError

Bases: Exception

efl.emotion.extension_may_play_get(filename)

Do we have a chance to play that file?

This just actually look at the extention of the file, it doesn’t check the mime-type nor if the file is actually sane. So this is just an hint for your application.

Parameters

filename (str) – A filename that we want to know if Emotion can play.

New in version 1.8.

efl.emotion.init()
efl.emotion.on_event(event_name)
efl.emotion.shutdown()
efl.emotion.webcams_get()

Get a list of active and available webcam.

Returns

the list of tuple (webcam name, webcam device)

New in version 1.8.