title: Using uinput.emit() Dynamically
body: <p>I'm doing some tests with <a href="http://tjjr.fi/sw/python-uinput/" rel="nofollow">python-uinput</a> to simulate some key presses but I can't find a way to dynamically call <code>uinput.emit()</code>. What I mean is that I want for example to get the characters from a file and call <code>uinput.emit()</code> for each of them.</p>
  
  <p>Reading the file character-by-character isn't a problem, the problem is that as far as I know <code>uinput</code> doesn't like you pass a character string or the hex code of that ASCII character. Is there any way to do this?</p>