Peter Otten wrote: >> def is_it_safe(source): >> return "_" not in source and r'\' not in source > >>>> "".join(map(chr, [95, 95, 110, 111, 95, 95])) > '__no__' But you don't have access to neither map or chr? /Joel