def vk_to_character(self, vk, modifiers=[]):
if vk in self.non_layout_keys:<EOL><INDENT>return self.non_layout_keys[vk]<EOL><DEDENT>elif vk in self.layout_specific_keys:<EOL><INDENT>if '<STR_LIT>' in modifiers:<EOL><INDENT>return self.layout_specific_keys[vk][<NUM_LIT:1>]<EOL><DEDENT>return self.layout_specific_keys[vk][<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>".format(vk))<EOL><DEDENT>
Returns a character corresponding to the specified scan code (with given
        modifiers applied)